aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-10-05 03:27:52 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-10-05 03:27:52 +0000
commit666ad1f8cf2d5eb2c6b641047282cd420b375405 (patch)
tree758474a5534118601cd70c6a5e89c345b950c97f
parent671d77bc8ea1ea50141ae87bce030110ac9c73f1 (diff)
Check that jump tables wind up in the rodata section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30747 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/Alpha/jmp_table.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/Alpha/jmp_table.ll b/test/CodeGen/Alpha/jmp_table.ll
index 16c438aa8b..00ae601259 100644
--- a/test/CodeGen/Alpha/jmp_table.ll
+++ b/test/CodeGen/Alpha/jmp_table.ll
@@ -1,7 +1,8 @@
; try to check that we have the most important instructions, which shouldn't appear otherwise
; RUN: llvm-as < %s | llc -march=alpha | grep 'jmp' &&
; RUN: llvm-as < %s | llc -march=alpha | grep 'gprel32' &&
-; RUN: llvm-as < %s | llc -march=alpha | grep 'ldl'
+; RUN: llvm-as < %s | llc -march=alpha | grep 'ldl' &&
+; RUN: llvm-as < %s | llc -march=alpha | grep 'rodata'
target endian = little
target pointersize = 64