summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.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
commit9737a63ed8786e58e5aa261df1587673c9eba32d (patch)
tree07b2098a85687c5bdc340fc6e4f67514d5c38336 /llvm/test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll
parentbe4253a0caf6f011b2af12803db9cf980f48084e (diff)
downloadbcm5719-llvm-9737a63ed8786e58e5aa261df1587673c9eba32d.tar.gz
bcm5719-llvm-9737a63ed8786e58e5aa261df1587673c9eba32d.zip
Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this. llvm-svn: 81226
Diffstat (limited to 'llvm/test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll')
-rw-r--r--llvm/test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll b/llvm/test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll
index 8a0b5b308f5..4a20e3f031e 100644
--- a/llvm/test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll
+++ b/llvm/test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll
@@ -2,9 +2,9 @@
; alignments. Elements 0 and 2 must be 16-byte aligned, and element
; 1 must be at least 8 byte aligned (but could be more).
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {@G.0 = internal global .*align 16}
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {@G.1 = internal global .*align 8}
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {@G.2 = internal global .*align 16}
+; RUN: opt %s -globalopt | llvm-dis | grep {@G.0 = internal global .*align 16}
+; RUN: opt %s -globalopt | llvm-dis | grep {@G.1 = internal global .*align 8}
+; RUN: opt %s -globalopt | llvm-dis | grep {@G.2 = internal global .*align 16}
; rdar://5891920
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
OpenPOWER on IntegriCloud