[llvm] [AMDGPU] Teach SIPreEmitPeephole pass to preserve MachineLoopInfo (PR #178868)
Carl Ritson via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 18 19:12:59 PST 2026
perlfu wrote:
> Is there a branch predictor? I thought there never was one
You're right, I don't think there is one, at least in the CU.
> I'd call 2% pretty significant and this regression should be avoided
The patch didn't take this approach; so this somewhat moot, but the regression would be having a conditional branch which is always taken and an unconditional branch that is never taken.
Regression would have amount to code bloat of one instruction as I proposed it, i.e. not fully disabling the vcc optimization, but retaining the branches in order to preserve CFG.
https://github.com/llvm/llvm-project/pull/178868
More information about the llvm-commits
mailing list