commit | b1e1e82c54c060ea5dae09dae043234826ca2539 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Sep 08 16:50:01 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Sep 08 16:50:01 2009 +0000 |
tree | 97db9bdf6b44f9fd60eb81fa17ea54281587f89d | |
parent | ee7110f0478cc90ffa419759e21557ed8d669562 [diff] [blame] |
Change these tests to feed the assembly files to opt directly, instead of using llvm-as, now that opt supports this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 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 21701dd..8a1a07e 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: llvm-as < %s | opt -sretpromotion | llvm-dis | grep sret +; RUN: opt %s -sretpromotion | llvm-dis | grep sret %struct.S = type <{ i32, i32 }>