[llvm] r192810 - Port to FileCheck.
Rafael Espindola
rafael.espindola at gmail.com
Wed Oct 16 09:47:56 PDT 2013
Author: rafael
Date: Wed Oct 16 11:47:56 2013
New Revision: 192810
URL: http://llvm.org/viewvc/llvm-project?rev=192810&view=rev
Log:
Port to FileCheck.
Modified:
llvm/trunk/test/CodeGen/ARM/aliases.ll
Modified: llvm/trunk/test/CodeGen/ARM/aliases.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/aliases.ll?rev=192810&r1=192809&r2=192810&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/aliases.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/aliases.ll Wed Oct 16 11:47:56 2013
@@ -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
More information about the llvm-commits
mailing list