diff options
author | Jim Grosbach <grosbach@apple.com> | 2012-05-21 23:50:00 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2012-05-21 23:50:00 +0000 |
commit | da04fa0d02ea91c1f5c7998c7dfb47c851475e3d (patch) | |
tree | 7682c861cb782119d027b5ecc15f26f65c25d2e3 /llvm/test/CodeGen/Thumb2 | |
parent | 2597f8388995b131273279006b5c20892cbba11e (diff) | |
download | bcm5719-llvm-da04fa0d02ea91c1f5c7998c7dfb47c851475e3d.tar.gz bcm5719-llvm-da04fa0d02ea91c1f5c7998c7dfb47c851475e3d.zip |
FileCheck'ize test, and add a bit to test for r157221.
llvm-svn: 157222
Diffstat (limited to 'llvm/test/CodeGen/Thumb2')
-rw-r--r-- | llvm/test/CodeGen/Thumb2/thumb2-jtb.ll | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Thumb2/thumb2-jtb.ll b/llvm/test/CodeGen/Thumb2/thumb2-jtb.ll index 7e1655f6c25..0748b9b32d9 100644 --- a/llvm/test/CodeGen/Thumb2/thumb2-jtb.ll +++ b/llvm/test/CodeGen/Thumb2/thumb2-jtb.ll @@ -1,9 +1,15 @@ -; RUN: llc < %s -march=thumb -mattr=+thumb2 -arm-adjust-jump-tables=0 | not grep tbb +; RUN: llc < %s -march=thumb -mattr=+thumb2 -arm-adjust-jump-tables=0 | FileCheck %s ; Do not use tbb / tbh if any destination is before the jumptable. ; rdar://7102917 define i16 @main__getopt_internal_2E_exit_2E_ce(i32, i1 %b) nounwind { +; CHECK: main__getopt_internal_2E_exit_2E_ce +; CHECK-NOT: tbb +; CHECK-NOT: tbh +; 32-bit jump tables use explicit branches, not data regions, so make sure +; we don't annotate this region. +; CHECK-NOT: data_region entry: br i1 %b, label %codeRepl127.exitStub, label %newFuncRoot |