summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-01-18 21:04:59 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-01-18 21:04:59 +0000
commitbd3a5b29cb809fc6117569a2801d41c1d12dfe9a (patch)
tree0ad4f702ea80b95d8101621334eb9f408acd1288 /llvm/test/CodeGen/AArch64
parentd3f3e16293e59b54c835e20e32050b805b9ade65 (diff)
downloadbcm5719-llvm-bd3a5b29cb809fc6117569a2801d41c1d12dfe9a.tar.gz
bcm5719-llvm-bd3a5b29cb809fc6117569a2801d41c1d12dfe9a.zip
GlobalISel: Verify G_BITCAST
llvm-svn: 351594
Diffstat (limited to 'llvm/test/CodeGen/AArch64')
-rw-r--r--llvm/test/CodeGen/AArch64/GlobalISel/legalize-simple.mir8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/legalize-simple.mir b/llvm/test/CodeGen/AArch64/GlobalISel/legalize-simple.mir
index 51cda7d793e..b4ba35dddf5 100644
--- a/llvm/test/CodeGen/AArch64/GlobalISel/legalize-simple.mir
+++ b/llvm/test/CodeGen/AArch64/GlobalISel/legalize-simple.mir
@@ -37,10 +37,10 @@ body: |
; CHECK: $x0 = COPY [[BITCAST1]](s64)
; CHECK: [[BITCAST2:%[0-9]+]]:_(s32) = G_BITCAST [[SELECT3]](s32)
; CHECK: $w0 = COPY [[BITCAST2]](s32)
- ; CHECK: [[BITCAST3:%[0-9]+]]:_(<4 x s8>) = G_BITCAST [[COPY]](s64)
+ ; CHECK: [[BITCAST3:%[0-9]+]]:_(<4 x s8>) = G_BITCAST [[TRUNC1]](s32)
; CHECK: [[BITCAST4:%[0-9]+]]:_(s32) = G_BITCAST [[BITCAST3]](<4 x s8>)
; CHECK: $w0 = COPY [[BITCAST4]](s32)
- ; CHECK: [[BITCAST5:%[0-9]+]]:_(<2 x s16>) = G_BITCAST [[COPY]](s64)
+ ; CHECK: [[BITCAST5:%[0-9]+]]:_(<2 x s16>) = G_BITCAST [[TRUNC1]](s32)
; CHECK: [[BITCAST6:%[0-9]+]]:_(s32) = G_BITCAST [[BITCAST5]](<2 x s16>)
; CHECK: $w0 = COPY [[BITCAST6]](s32)
bb.0.entry:
@@ -74,10 +74,10 @@ body: |
$x0 = COPY %13(s64)
%14:_(s32) = G_BITCAST %10(s32)
$w0 = COPY %14(s32)
- %15:_(<4 x s8>) = G_BITCAST %0(s64)
+ %15:_(<4 x s8>) = G_BITCAST %4(s32)
%20:_(s32) = G_BITCAST %15(<4 x s8>)
$w0 = COPY %20(s32)
- %16:_(<2 x s16>) = G_BITCAST %0(s64)
+ %16:_(<2 x s16>) = G_BITCAST %4(s32)
%21:_(s32) = G_BITCAST %16(<2 x s16>)
$w0 = COPY %21(s32)
OpenPOWER on IntegriCloud