[PATCH] D57656: GlobalISel: Fix artifact combiner constant legality checks for vectors

Aditya Nandakumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 4 18:17:24 PST 2019


aditya_nandakumar added inline comments.


================
Comment at: test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-sext.mir:16
+    ; CHECK: [[UV:%[0-9]+]]:_(s32), [[UV1:%[0-9]+]]:_(s32) = G_UNMERGE_VALUES [[COPY1]](<2 x s32>)
+    ; CHECK: [[SHL:%[0-9]+]]:_(s32) = G_SHL [[UV]], [[C]](s32)
+    ; CHECK: [[SHL1:%[0-9]+]]:_(s32) = G_SHL [[UV1]], [[C]](s32)
----------------
Is this correct ? We're shifting a 32 bit source by 32 into 32 bit destination.


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

https://reviews.llvm.org/D57656





More information about the llvm-commits mailing list