[PATCH] D127768: AMDGPU: Clear kill flags when optimizing vcmp save exec sequence

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 14 13:40:56 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIOptimizeExecMasking.cpp:493
+  if (Src1->isReg())
+    MRI.clearKillFlags(Src1->getReg());
+
----------------
Can you get away with clearing it on the one operand?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127768/new/

https://reviews.llvm.org/D127768



More information about the llvm-commits mailing list