diff options
-rw-r--r-- | test/CodeGen/Thumb2/pic-jtbl.ll | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/CodeGen/Thumb2/pic-jtbl.ll b/test/CodeGen/Thumb2/pic-jtbl.ll index 701d308326..bb1facb400 100644 --- a/test/CodeGen/Thumb2/pic-jtbl.ll +++ b/test/CodeGen/Thumb2/pic-jtbl.ll @@ -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() |