aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SRETPromotion/2008-06-04-function-pointer-passing.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-08 16:50:01 +0000
committerDan Gohman <gohman@apple.com>2009-09-08 16:50:01 +0000
commitb1e1e82c54c060ea5dae09dae043234826ca2539 (patch)
tree97db9bdf6b44f9fd60eb81fa17ea54281587f89d /test/Transforms/SRETPromotion/2008-06-04-function-pointer-passing.ll
parentee7110f0478cc90ffa419759e21557ed8d669562 (diff)
downloadexternal_llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.gz
external_llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.bz2
external_llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.zip
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
Diffstat (limited to 'test/Transforms/SRETPromotion/2008-06-04-function-pointer-passing.ll')
-rw-r--r--test/Transforms/SRETPromotion/2008-06-04-function-pointer-passing.ll2
1 files changed, 1 insertions, 1 deletions
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 21701dd84b..8a1a07e088 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 }>