summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/fast-isel-shift-materialize.ll
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2018-04-13 22:25:20 +0000
committerTim Northover <tnorthover@apple.com>2018-04-13 22:25:20 +0000
commit271d3d277172f8db05953957310cbf5665d1bafb (patch)
treef9bf11ef845d7004c266c244e2725cde074f2b15 /llvm/test/CodeGen/ARM/fast-isel-shift-materialize.ll
parent8db3e115e75a820dbcdfb2bc7730a11c6845f0de (diff)
downloadbcm5719-llvm-271d3d277172f8db05953957310cbf5665d1bafb.tar.gz
bcm5719-llvm-271d3d277172f8db05953957310cbf5665d1bafb.zip
MachO: trap unreachable instructions
Debugability is more important than saving 4 bytes to let us to fall through to nonense. llvm-svn: 330073
Diffstat (limited to 'llvm/test/CodeGen/ARM/fast-isel-shift-materialize.ll')
-rw-r--r--llvm/test/CodeGen/ARM/fast-isel-shift-materialize.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/fast-isel-shift-materialize.ll b/llvm/test/CodeGen/ARM/fast-isel-shift-materialize.ll
index ab36a979d71..6ecaaa99b83 100644
--- a/llvm/test/CodeGen/ARM/fast-isel-shift-materialize.ll
+++ b/llvm/test/CodeGen/ARM/fast-isel-shift-materialize.ll
@@ -19,7 +19,7 @@ bb:
%tmp4 = lshr i32 %tmp3, 2
%tmp10 = lshr i32 %tmp9, 2
call void @foo(i32 %tmp10, i32 %tmp4)
- unreachable
+ ret i32 undef
}
attributes #0 = { minsize }
OpenPOWER on IntegriCloud