File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,7 @@ class AVRTTIImpl final : public BasicTTIImplBase<AVRTTIImpl> {
4343 TLI(ST->getTargetLowering ()) {}
4444
4545 bool isLSRCostLess (const TargetTransformInfo::LSRCost &C1,
46- const TargetTransformInfo::LSRCost &C2) const override {
47- if (C2.Insns == ~0u )
48- return true ;
49- return 2 * C1.Insns + C1.AddRecCost + C1.SetupCost + C1.NumRegs <
50- 2 * C2.Insns + C2.AddRecCost + C2.SetupCost + C2.NumRegs ;
51- }
46+ const TargetTransformInfo::LSRCost &C2) const override ;
5247};
5348
5449} // end namespace llvm
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ add_llvm_target(AVRCodeGen
2929 AVRSubtarget.cpp
3030 AVRTargetMachine.cpp
3131 AVRTargetObjectFile.cpp
32+ AVRTargetTransformInfo.cpp
3233
3334 DEPENDS
3435 intrinsics_gen
You can’t perform that action at this time.
0 commit comments