Preserve SCC dead flags in SIOptimizeExecMaskingPreRA.
This helps with removing redundant s_andn2 instructions later.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp | ||
---|---|---|
171–172 | You know the exact 2 opcodes here, so you can just hardcode the scc index (which I think is just the last operand in both cases) |
You know the exact 2 opcodes here, so you can just hardcode the scc index (which I think is just the last operand in both cases)