diff options
author | Chris Lattner <sabre@nondot.org> | 2008-12-15 03:46:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-12-15 03:46:38 +0000 |
commit | f33131685bb9de34dd876641bdf2d514fb49ce4c (patch) | |
tree | b310c95ae993b5a41e46019a975931ec910062c1 /test/Transforms/GVN/rle-phi-translate.ll | |
parent | 9e59c64c14cfe55e7cc9086c6bff8cfeecac361e (diff) | |
download | external_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-phi-translate.ll')
-rw-r--r-- | test/Transforms/GVN/rle-phi-translate.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/GVN/rle-phi-translate.ll b/test/Transforms/GVN/rle-phi-translate.ll index 0f9c58f..b5311ee 100644 --- a/test/Transforms/GVN/rle-phi-translate.ll +++ b/test/Transforms/GVN/rle-phi-translate.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {%cv.rle = phi i32} -; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {%bv.rle = phi i32} +; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {%cv = phi i32} +; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {%bv = phi i32} target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" target triple = "i386-apple-darwin7" |