[PATCH] D76474: AMDGPU/GlobalISel: Basic legalize rules for G_FSHR

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 20 08:38:25 PDT 2020


arsenm marked an inline comment as done.
arsenm added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fshr.mir:12-29
+    ; SI-LABEL: name: test_fshr_s32_s32
+    ; SI: [[COPY:%[0-9]+]]:_(s32) = COPY $vgpr0
+    ; SI: [[COPY1:%[0-9]+]]:_(s32) = COPY $vgpr1
+    ; SI: [[COPY2:%[0-9]+]]:_(s32) = COPY $vgpr2
+    ; SI: [[FSHR:%[0-9]+]]:_(s32) = G_FSHR [[COPY]], [[COPY1]], [[COPY2]](s32)
+    ; SI: $vgpr0 = COPY [[FSHR]](s32)
+    ; VI-LABEL: name: test_fshr_s32_s32
----------------
foad wrote:
> Is there any difference between the SI/VI/GFX9 code in this file? I didn't spot any.
There will be with more complete legalization rules for s16


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

https://reviews.llvm.org/D76474





More information about the llvm-commits mailing list