[PATCH] D84642: AMDGPU/GlobalISel: Fix selecting llvm.amdgcn.s.getreg

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 28 14:20:21 PDT 2020


rampitec added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SOPInstructions.td:814
+  "$sdst, $simm16",
+  [(set i32:$sdst, (int_amdgcn_s_getreg (i32 timm:$simm16)))]> {
+  let SOPKZext = 1;
----------------
Why cannot you use as_i16imm?


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

https://reviews.llvm.org/D84642



More information about the llvm-commits mailing list