diff options
author | Yashwant Singh <Yashwant.Singh@amd.com> | 2023-04-13 09:49:40 +0530 |
---|---|---|
committer | Yashwant Singh <Yashwant.Singh@amd.com> | 2023-04-13 10:21:24 +0530 |
commit | aea2a147363197f3cef140ebcd27b534fd41877b (patch) | |
tree | 4f5dbbd133b9eab289275c851d314e200022657d /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 18bfc92aac4fc382ca41c235dea3b61481996171 (diff) | |
download | llvm-aea2a147363197f3cef140ebcd27b534fd41877b.zip llvm-aea2a147363197f3cef140ebcd27b534fd41877b.tar.gz llvm-aea2a147363197f3cef140ebcd27b534fd41877b.tar.bz2 |
[LoopUnroll] Prevent LoopFullUnrollPass to perform partial/runtime unrolling
FullLoopUnroll was performing runtime unrolling in certain cases when
'#pragma unroll' was specified. Patch to fix this by introducing new parameter
to tryToUnrollLoop() to differentiate between LoopUnrollPass and
FullLoopUnrollPass. Based on the discussion here
(https://discourse.llvm.org/t/loop-unroller-fails-to-unroll-loop/69834)
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D148071
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions