commit | 3e054fe9efc64596534bbae0d1634ed15181d642 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Sep 08 22:34:10 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Sep 08 22:34:10 2009 +0000 |
tree | 8da773058a2492290d4648d8f5dba5c3b8382142 | |
parent | f31657990191d5b2bb1eb3bd95020fc3375f0e3d [diff] [blame] |
Use opt -S instead of piping bitcode output through llvm-dis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81257 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Transforms/SRETPromotion/2008-06-04-function-pointer-passing.ll b/test/Transforms/SRETPromotion/2008-06-04-function-pointer-passing.ll index 8a1a07e..7697085 100644 --- a/test/Transforms/SRETPromotion/2008-06-04-function-pointer-passing.ll +++ b/test/Transforms/SRETPromotion/2008-06-04-function-pointer-passing.ll
@@ -5,7 +5,7 @@ ; We're mainly testing for opt not to crash, but we'll check to see if the sret ; attribute is still there for good measure. -; RUN: opt %s -sretpromotion | llvm-dis | grep sret +; RUN: opt %s -sretpromotion -S | grep sret %struct.S = type <{ i32, i32 }>