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 | 6b07bc604ee891185435c040f0a872774c64af29 (patch) | |
tree | cd53a1af9993d3e421c5077bb674ba605e2152e7 /test | |
parent | b3a119a257978857c1d62ad74ed4123198ea6703 (diff) | |
download | external_llvm-6b07bc604ee891185435c040f0a872774c64af29.zip external_llvm-6b07bc604ee891185435c040f0a872774c64af29.tar.gz external_llvm-6b07bc604ee891185435c040f0a872774c64af29.tar.bz2 |
FileCheck'ize test, and add a bit to test for r157221.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157222 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/Thumb2/thumb2-jtb.ll | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-jtb.ll b/test/CodeGen/Thumb2/thumb2-jtb.ll index 7e1655f..0748b9b 100644 --- a/test/CodeGen/Thumb2/thumb2-jtb.ll +++ b/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 |