aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-16 16:47:56 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-16 16:47:56 +0000
commit303fe16ea2ffbd4dcdc4b9d01510fc630ad8028e (patch)
treebd41992301dcad700c83c9c2119c42c6dcf89b81 /test/CodeGen/ARM
parent8a753843617e348279f4a72e5c66bac4932c832b (diff)
downloadexternal_llvm-303fe16ea2ffbd4dcdc4b9d01510fc630ad8028e.zip
external_llvm-303fe16ea2ffbd4dcdc4b9d01510fc630ad8028e.tar.gz
external_llvm-303fe16ea2ffbd4dcdc4b9d01510fc630ad8028e.tar.bz2
Port to FileCheck.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192810 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/aliases.ll21
1 files changed, 17 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/aliases.ll b/test/CodeGen/ARM/aliases.ll
index d668334..4147bd0 100644
--- a/test/CodeGen/ARM/aliases.ll
+++ b/test/CodeGen/ARM/aliases.ll
@@ -1,7 +1,20 @@
-; RUN: llc < %s -mtriple=arm-linux-gnueabi -o %t
-; RUN: grep " = " %t | count 5
-; RUN: grep globl %t | count 4
-; RUN: grep weak %t | count 1
+; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s
+
+; CHECK: .globl test
+
+; CHECK: .globl foo1
+; CHECK: foo1 = bar
+
+; CHECK: .globl foo2
+; CHECK: foo2 = bar
+
+; CHECK: .weak bar_f
+; CHECK: bar_f = foo_f
+
+; CHECK: bar_i = bar
+
+; CHECK: .globl A
+; CHECK: A = bar
@bar = external global i32
@foo1 = alias i32* @bar