Skip to content

Commit b756969

Browse files
[RISCV][NFC] Don't set UnrollAndJamInnerLoopThreshold in getUnrollingPreferences
This has no effect since its the default value used in llvm::gatherUnrollingPreferences.
1 parent e8b9e13 commit b756969

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2242,7 +2242,6 @@ void RISCVTTIImpl::getUnrollingPreferences(Loop *L, ScalarEvolution &SE,
22422242
UP.Runtime = true;
22432243
UP.UnrollRemainder = true;
22442244
UP.UnrollAndJam = true;
2245-
UP.UnrollAndJamInnerLoopThreshold = 60;
22462245

22472246
// Force unrolling small loops can be very useful because of the branch
22482247
// taken cost of the backedge.

0 commit comments

Comments
 (0)