mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 23:29:51 +00:00
Convert a test to FileCheck.
llvm-svn: 76954
This commit is contained in:
parent
d594b72797
commit
bbac2397c5
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user