diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-11 08:34:57 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-11 08:34:57 +0000 |
commit | 84ba97698e588624fb11ad820882ff0c998178a2 (patch) | |
tree | d8f5d1c3b0041579914cca6e5c17242c179785dc /llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll | |
parent | d688bab563da574394913722eea9fb8a9e062660 (diff) | |
download | bcm5719-llvm-84ba97698e588624fb11ad820882ff0c998178a2.tar.gz bcm5719-llvm-84ba97698e588624fb11ad820882ff0c998178a2.zip |
FileCheck-ize the tests.
llvm-svn: 174865
Diffstat (limited to 'llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll')
-rw-r--r-- | llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll b/llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll index 7c6c575ea80..20b5da529d1 100644 --- a/llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll +++ b/llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll @@ -1,20 +1,18 @@ -; RUN: opt < %s -deadargelim -S > %t -; RUN: cat %t | grep nounwind | count 2 -; RUN: cat %t | grep signext | count 2 -; RUN: cat %t | not grep inreg -; RUN: cat %t | not grep zeroext -; RUN: cat %t | not grep byval +; RUN: opt < %s -deadargelim -S | FileCheck %s - %struct = type { } +%struct = type { } @g = global i8 0 +; CHECK: define internal void @foo(i8 signext %y) nounwind + define internal zeroext i8 @foo(i8* inreg %p, i8 signext %y, ... ) nounwind { - store i8 %y, i8* @g - ret i8 0 + store i8 %y, i8* @g + ret i8 0 } define i32 @bar() { - %A = call zeroext i8(i8*, i8, ...)* @foo(i8* inreg null, i8 signext 1, %struct* byval null ) nounwind - ret i32 0 +; CHECK: call void @foo(i8 signext 1) nounwind + %A = call zeroext i8(i8*, i8, ...)* @foo(i8* inreg null, i8 signext 1, %struct* byval null ) nounwind + ret i32 0 } |