projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
licm is wasting time hoisting constant foldable operations,
[oota-llvm.git]
/
test
/
Transforms
/
ArgumentPromotion
/
basictest.ll
diff --git
a/test/Transforms/ArgumentPromotion/basictest.ll
b/test/Transforms/ArgumentPromotion/basictest.ll
index f2046080eea95c1efae8ab555c7723d36927249c..ac9d7bf5abb685b1cd112b8cf27e35cb5c52ad06 100644
(file)
--- a/
test/Transforms/ArgumentPromotion/basictest.ll
+++ b/
test/Transforms/ArgumentPromotion/basictest.ll
@@
-1,4
+1,5
@@
-; RUN: opt %s -argpromotion -mem2reg -S | not grep alloca
+; RUN: opt < %s -argpromotion -mem2reg -S | not grep alloca
+target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128"
define internal i32 @test(i32* %X, i32* %Y) {
%A = load i32* %X ; <i32> [#uses=1]
%B = load i32* %Y ; <i32> [#uses=1]
define internal i32 @test(i32* %X, i32* %Y) {
%A = load i32* %X ; <i32> [#uses=1]
%B = load i32* %Y ; <i32> [#uses=1]