[llvm] [AMDGPU] SILowerI1Copies: clear kill flags on COPY (PR #65883)
Carl Ritson via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 10 02:26:01 PDT 2023
================
@@ -708,6 +708,9 @@ bool SILowerI1Copies::lowerCopiesToI1() {
.addImm(0);
MI.getOperand(1).setReg(TmpReg);
SrcReg = TmpReg;
+ } else {
+ // SrcReg needs to be live beyond copy.
+ MI.clearKillInfo();
----------------
perlfu wrote:
Done
https://github.com/llvm/llvm-project/pull/65883
More information about the llvm-commits
mailing list