test/CodeGen/X86/red-zone2.ll: Add -mtriple=x86_64-linux, and FileCheck-ize.
[oota-llvm.git] / test / Transforms / ConstantMerge / 2003-10-28-MergeExternalConstants.ll
index 9a9c3ddf0ab1309e252b7741b79105299f079726..ce79e3b2964a50d617fccf99df59ec67e6abc1ee 100644 (file)
@@ -1,5 +1,7 @@
-; RUN: llvm-as < %s | opt -constmerge | llvm-dis | %prcontext foo 2 | grep bar
+; RUN: opt -S -constmerge %s | FileCheck %s
 
+; CHECK: @foo = constant i32 6
+; CHECK: @bar = constant i32 6
 @foo = constant i32 6           ; <i32*> [#uses=0]
 @bar = constant i32 6           ; <i32*> [#uses=0]