summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-11-18 16:50:44 +0000
committerSanjay Patel <spatel@rotateright.com>2018-11-18 16:50:44 +0000
commit7e659ef4b1e5181ccc675aa0076beab53eabe31e (patch)
tree098b03394859e77f179b31506373a1b85c4bf021
parentcb04e590d3b912bf14583955f7696fa02549b7e1 (diff)
downloadbcm5719-llvm-7e659ef4b1e5181ccc675aa0076beab53eabe31e.tar.gz
bcm5719-llvm-7e659ef4b1e5181ccc675aa0076beab53eabe31e.zip
[SystemZ] make test immune to improvements in undef simplification
llvm-svn: 347166
-rw-r--r--llvm/test/CodeGen/SystemZ/subregliveness-05.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/SystemZ/subregliveness-05.ll b/llvm/test/CodeGen/SystemZ/subregliveness-05.ll
index 9aba18f3342..9b470cda1a9 100644
--- a/llvm/test/CodeGen/SystemZ/subregliveness-05.ll
+++ b/llvm/test/CodeGen/SystemZ/subregliveness-05.ll
@@ -9,7 +9,7 @@ target triple = "s390x-ibm-linux"
@g_65 = external global i32, align 4
; Function Attrs: nounwind
-define void @main() #0 {
+define void @main(i1 %x) #0 {
bb:
br label %bb1
@@ -25,7 +25,7 @@ bb1: ; preds = %bb
br i1 undef, label %bb12, label %bb9
bb9: ; preds = %bb1
- %tmp10 = select i1 undef, i64 0, i64 %tmp2
+ %tmp10 = select i1 %x, i64 0, i64 %tmp2
%tmp11 = add nsw i64 %tmp10, %tmp8
br label %bb12
OpenPOWER on IntegriCloud