[llvm] [AMDGPU] Reset kill flags for multiple uses of SDWAInst Ops (PR #97135)

Jeffrey Byrnes via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 30 10:09:11 PDT 2024


================
@@ -0,0 +1,194 @@
+; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
----------------
jrbyrnes wrote:

I've just replaced with a reduced MIR test. Without the flag clearing, PeepholeSDWA will attach kill flag to a folded reg, which it will subsequently violate.

https://github.com/llvm/llvm-project/pull/97135


More information about the llvm-commits mailing list