diff options
Diffstat (limited to 'test/Transforms/IPConstantProp')
6 files changed, 6 insertions, 6 deletions
diff --git a/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll b/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll index 87f6375..6640336 100644 --- a/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll +++ b/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -ipconstprop -S | grep {ret i32 %r} +; RUN: opt < %s -ipconstprop -S | grep {ret i32 %r} ; Should not propagate the result of a weak function. ; PR2411 diff --git a/test/Transforms/IPConstantProp/deadarg.ll b/test/Transforms/IPConstantProp/deadarg.ll index 32810bd..4b9938e 100644 --- a/test/Transforms/IPConstantProp/deadarg.ll +++ b/test/Transforms/IPConstantProp/deadarg.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -ipconstprop -disable-output +; RUN: opt < %s -ipconstprop -disable-output define internal void @foo(i32 %X) { call void @foo( i32 %X ) ret void diff --git a/test/Transforms/IPConstantProp/recursion.ll b/test/Transforms/IPConstantProp/recursion.ll index d6ccac7..b25a6c0 100644 --- a/test/Transforms/IPConstantProp/recursion.ll +++ b/test/Transforms/IPConstantProp/recursion.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -ipconstprop -deadargelim -S | not grep %X +; RUN: opt < %s -ipconstprop -deadargelim -S | not grep %X define internal i32 @foo(i32 %X) { %Y = call i32 @foo( i32 %X ) ; <i32> [#uses=1] %Z = add i32 %Y, 1 ; <i32> [#uses=1] diff --git a/test/Transforms/IPConstantProp/return-argument.ll b/test/Transforms/IPConstantProp/return-argument.ll index 93071cc..0223453 100644 --- a/test/Transforms/IPConstantProp/return-argument.ll +++ b/test/Transforms/IPConstantProp/return-argument.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -ipconstprop -S > %t +; RUN: opt < %s -ipconstprop -S > %t ; RUN: cat %t | grep {store i32 %Z, i32\\* %Q} ; RUN: cat %t | grep {add i32 1, 3} diff --git a/test/Transforms/IPConstantProp/return-constant.ll b/test/Transforms/IPConstantProp/return-constant.ll index 72cb796..b255859 100644 --- a/test/Transforms/IPConstantProp/return-constant.ll +++ b/test/Transforms/IPConstantProp/return-constant.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -ipconstprop -instcombine | \ +; RUN: opt < %s -ipconstprop -instcombine | \ ; RUN: llvm-dis | grep {ret i1 true} | count 2 define internal i32 @foo(i1 %C) { br i1 %C, label %T, label %F diff --git a/test/Transforms/IPConstantProp/return-constants.ll b/test/Transforms/IPConstantProp/return-constants.ll index f83440d..79220dd 100644 --- a/test/Transforms/IPConstantProp/return-constants.ll +++ b/test/Transforms/IPConstantProp/return-constants.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -ipconstprop -S > %t +; RUN: opt < %s -ipconstprop -S > %t ;; Check that the 21 constants got propagated properly ; RUN: cat %t | grep {%M = add i32 21, 21} ;; Check that the second return values didn't get propagated |