[PATCH] D89502: AMDGPU: Don't kill super-register with overlapping copy
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 15:15:40 PDT 2020
rampitec accepted this revision.
rampitec added a comment.
This revision is now accepted and ready to land.
LGTM, although it might require checking liveness of all aliasing registers.
================
Comment at: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:924
+ // instruction, since it will also kill the components made live by this def.
+ const bool CanKillSuperReg = KillSrc && !RI.regsOverlap(SrcReg, DestReg);
+
----------------
It could be some other unrelated superreg?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89502/new/
https://reviews.llvm.org/D89502
More information about the llvm-commits
mailing list