aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GVN/2007-07-26-InterlockingLoops.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/2007-07-26-InterlockingLoops.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/2007-07-26-InterlockingLoops.ll')
-rw-r--r--test/Transforms/GVN/2007-07-26-InterlockingLoops.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/GVN/2007-07-26-InterlockingLoops.ll b/test/Transforms/GVN/2007-07-26-InterlockingLoops.ll
index 1dd1479..5403a1b 100644
--- a/test/Transforms/GVN/2007-07-26-InterlockingLoops.ll
+++ b/test/Transforms/GVN/2007-07-26-InterlockingLoops.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep {tmp17625 =}
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep {tmp17631 =}
+; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {tmp17625 = phi i32. }
+; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {tmp17631.* = phi i32. }
@last = external global [65 x i32*] ; <[65 x i32*]*> [#uses=1]