From 666ad1f8cf2d5eb2c6b641047282cd420b375405 Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Thu, 5 Oct 2006 03:27:52 +0000 Subject: [PATCH] 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 --- test/CodeGen/Alpha/jmp_table.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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