Check that jump tables wind up in the rodata section
authorAndrew Lenharth <andrewl@lenharth.org>
Thu, 5 Oct 2006 03:27:52 +0000 (03:27 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Thu, 5 Oct 2006 03:27:52 +0000 (03:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30747 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Alpha/jmp_table.ll

index 16c438aa8bb0fe7c30222f8de287ac43418d8883..00ae601259a05414e97430d5703152172dc919d8 100644 (file)
@@ -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