Skip to content

Commit 34a076c

Browse files
[RISCV][NFC] Don't set UnrollAndJamInnerLoopThreshold in getUnrollingPreferences (#118572)
This has no effect since its the default value used in llvm::gatherUnrollingPreferences.
1 parent 97fd435 commit 34a076c

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
@@ -2253,7 +2253,6 @@ void RISCVTTIImpl::getUnrollingPreferences(Loop *L, ScalarEvolution &SE,
22532253
UP.Runtime = true;
22542254
UP.UnrollRemainder = true;
22552255
UP.UnrollAndJam = true;
2256-
UP.UnrollAndJamInnerLoopThreshold = 60;
22572256

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

0 commit comments

Comments
 (0)