From: Andrew Lenharth Date: Thu, 5 Oct 2006 03:27:52 +0000 (+0000) Subject: Check that jump tables wind up in the rodata section X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=666ad1f8cf2d5eb2c6b641047282cd420b375405;p=oota-llvm.git 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 --- diff --git a/test/CodeGen/Alpha/jmp_table.ll b/test/CodeGen/Alpha/jmp_table.ll index 16c438aa8bb..00ae601259a 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