Convert a test to FileCheck.

llvm-svn: 76954
This commit is contained in:
Evan Cheng 2009-07-24 06:01:46 +00:00
parent d594b72797
commit bbac2397c5

View File

@ -1,10 +1,9 @@
; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin -relocation-model=pic \
; RUN: -o %t -f
; RUN: grep add %t | grep pc
;; NOT YET: grep "add pc"
; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin -relocation-model=pic | FileCheck %s
define void @bar(i32 %n.u) {
entry:
; CHECK: bar:
; CHECK: add pc
switch i32 %n.u, label %bb12 [i32 1, label %bb i32 2, label %bb6 i32 4, label %bb7 i32 5, label %bb8 i32 6, label %bb10 i32 7, label %bb1 i32 8, label %bb3 i32 9, label %bb4 i32 10, label %bb9 i32 11, label %bb2 i32 12, label %bb5 i32 13, label %bb11 ]
bb:
tail call void(...)* @foo1()