aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GVN/rle-semidominated.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-12-15 03:46:38 +0000
committerChris Lattner <sabre@nondot.org>2008-12-15 03:46:38 +0000
commitf33131685bb9de34dd876641bdf2d514fb49ce4c (patch)
treeb310c95ae993b5a41e46019a975931ec910062c1 /test/Transforms/GVN/rle-semidominated.ll
parent9e59c64c14cfe55e7cc9086c6bff8cfeecac361e (diff)
downloadexternal_llvm-f33131685bb9de34dd876641bdf2d514fb49ce4c.zip
external_llvm-f33131685bb9de34dd876641bdf2d514fb49ce4c.tar.gz
external_llvm-f33131685bb9de34dd876641bdf2d514fb49ce4c.tar.bz2
make GVN try to rename inputs to the resultant replaced values, which
cleans up the generated code a bit. This should have the added benefit of not randomly renaming functions/globals like my previous patch did. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GVN/rle-semidominated.ll')
-rw-r--r--test/Transforms/GVN/rle-semidominated.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GVN/rle-semidominated.ll b/test/Transforms/GVN/rle-semidominated.ll
index 95ee56a..5c11b06 100644
--- a/test/Transforms/GVN/rle-semidominated.ll
+++ b/test/Transforms/GVN/rle-semidominated.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep {DEAD =}
+; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {DEAD = phi i32 }
define i32 @main(i32* %p) {
block1: