summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2017-03-06 23:50:28 +0000
committerTim Northover <tnorthover@apple.com>2017-03-06 23:50:28 +0000
commitc2c545b8f7693a77fdc37e8c19ec6229c1da5ef8 (patch)
tree71cfe4b8857020beefd04394f75bec09bd9f2e10 /llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll
parentef23e9574ed4121e491061e22521f5f8597c3687 (diff)
downloadbcm5719-llvm-c2c545b8f7693a77fdc37e8c19ec6229c1da5ef8.tar.gz
bcm5719-llvm-c2c545b8f7693a77fdc37e8c19ec6229c1da5ef8.zip
GlobalISel: restrict G_EXTRACT instruction to just one operand.
A bit more painful than G_INSERT because it was more widely used, but this should simplify the handling of extract operations in most locations. llvm-svn: 297100
Diffstat (limited to 'llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll')
-rw-r--r--llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll b/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll
index be9ee333d10..75fab607cd7 100644
--- a/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll
+++ b/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll
@@ -23,7 +23,8 @@ declare i32 @llvm.eh.typeid.for(i8*)
; CHECK: [[SEL_PTR:%[0-9]+]](p0) = COPY %x1
; CHECK: [[SEL:%[0-9]+]](s32) = G_PTRTOINT [[SEL_PTR]]
; CHECK: [[PTR_SEL:%[0-9]+]](s128) = G_SEQUENCE [[PTR]](p0), 0, [[SEL]](s32), 64
-; CHECK: [[PTR_RET:%[0-9]+]](s64), [[SEL_RET:%[0-9]+]](s32) = G_EXTRACT [[PTR_SEL]](s128), 0, 64
+; CHECK: [[PTR_RET:%[0-9]+]](s64) = G_EXTRACT [[PTR_SEL]](s128), 0
+; CHECK: [[SEL_RET:%[0-9]+]](s32) = G_EXTRACT [[PTR_SEL]](s128), 64
; CHECK: %x0 = COPY [[PTR_RET]]
; CHECK: %w1 = COPY [[SEL_RET]]
OpenPOWER on IntegriCloud