[llvm] [AMDGPU] Exclude certain opcodes from being marked as single use (PR #91802)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 11 06:37:19 PDT 2024
================
@@ -156,10 +156,12 @@ defm V_MAX_F64 : VOP3Inst <"v_max_f64", VOP3_Profile<VOP_F64_F64_F64>, fmaxnum_l
} // End SchedRW = [WriteDoubleAdd]
let SchedRW = [WriteIntMul] in {
+defm V_MUL_LO_I32 : VOP3Inst <"v_mul_lo_i32", V_MUL_PROF<VOP_I32_I32_I32>>;
----------------
jayfoad wrote:
You don't need to handle V_MUL_LO_I32 differently from the other mul opcodes here. It was never generated because its behaviour was always identical to the U32 version, so recent generations have removed support for it, so it does not matter if you set the IsInvalid flag on it.
https://github.com/llvm/llvm-project/pull/91802
More information about the llvm-commits
mailing list