diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2013-09-20 20:33:57 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2013-09-20 20:33:57 +0000 |
commit | fc572d87d2bbf39732e43fc761b5173ef0bcc0f7 (patch) | |
tree | 632e9d2cd955464b2e401cf1339eaac6171d6147 /test/Transforms/GVN/local-pre.ll | |
parent | f51ecf2ad068f1bcc55940dee8c66acf4a44ed60 (diff) | |
download | external_llvm-fc572d87d2bbf39732e43fc761b5173ef0bcc0f7.zip external_llvm-fc572d87d2bbf39732e43fc761b5173ef0bcc0f7.tar.gz external_llvm-fc572d87d2bbf39732e43fc761b5173ef0bcc0f7.tar.bz2 |
Revert r191017, it results in segmentation faults in Qt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GVN/local-pre.ll')
-rw-r--r-- | test/Transforms/GVN/local-pre.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/GVN/local-pre.ll b/test/Transforms/GVN/local-pre.ll index 2c92699..1d0dadf 100644 --- a/test/Transforms/GVN/local-pre.ll +++ b/test/Transforms/GVN/local-pre.ll @@ -1,9 +1,9 @@ ; RUN: opt < %s -gvn -enable-pre -S | grep "b.pre" -define i32 @main(i32 %p, i32 %q) { +define i32 @main(i32 %p) { block1: - %cmp = icmp eq i32 %p, %q - br i1 %cmp, label %block2, label %block3 + + br i1 true, label %block2, label %block3 block2: %a = add i32 %p, 1 |