[llvm] [AMDGPU] Sign extend simm16 in setreg intrinsic (PR #77997)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 15 11:22:24 PST 2024
================
@@ -1160,6 +1158,9 @@ def S_SETREG_IMM32_B32_mode : S_SETREG_IMM32_B32_Pseudo {
} // End Defs = [MODE], Uses = [MODE]
+def : GCNPat<(int_amdgcn_s_setreg (i32 timm:$simm16), i32:$sdst),
----------------
rampitec wrote:
Done
https://github.com/llvm/llvm-project/pull/77997
More information about the llvm-commits
mailing list