The various scalar bit operations set SCC,
so one is erased or moved it needs to be recomputed.
Not sure why the existing tests don't fail on this.
Details
Details
- Reviewers
rampitec
Diff Detail
Diff Detail
Event Timeline
Comment Actions
It shall be caught by the operands analysis below and added only if needed. Do you have test showing problem?
Comment Actions
I think it should not be added here. Instead it shall be added where S_OR_B64 is removed. Then maybe the loop from the first part also has to be copied into the second part of the function, where this instruction is removed:
for (auto &Op : I->operands()) if (Op.isReg()) RecalcRegs.insert(Op.getReg());