[llvm] [AMDGPU][True16][CodeGen] stop emitting spgr_lo16 from isel (PR #144819)

Brox Chen via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 26 11:16:30 PDT 2025


================
@@ -1471,17 +1471,34 @@ def : GCNPat<
 >;
 
 def : GCNPat<
-  (i64 (anyext i16:$src)),
+  (i64 (UniformUnaryFrag<anyext> i16:$src)),
+  (REG_SEQUENCE VReg_64,
+     (i32 (COPY $src)), sub0,
+     (V_MOV_B32_e32 (i32 0)), sub1)
----------------
broxigarchen wrote:

It seems using SReg_64 here introduces some related changes in the test. I would rather not do it in this patch

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


More information about the llvm-commits mailing list