diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-26 22:16:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-26 22:16:49 +0000 |
commit | 5429b0ed12b825b77b8ed0ad0d970916c0ca1f7a (patch) | |
tree | bddd3534fee81afa5ed9584ef6724d680dd79e0d /test | |
parent | 9eba17b033f4df6e29e42a7d303feb3b72a0ae57 (diff) | |
download | external_llvm-5429b0ed12b825b77b8ed0ad0d970916c0ca1f7a.zip external_llvm-5429b0ed12b825b77b8ed0ad0d970916c0ca1f7a.tar.gz external_llvm-5429b0ed12b825b77b8ed0ad0d970916c0ca1f7a.tar.bz2 |
remove unwind info, add test for asmprinting of jump table labels with (%rip)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74337 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/pic-jtbl.ll | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/X86/pic-jtbl.ll b/test/CodeGen/X86/pic-jtbl.ll index e23f7c1..6096592 100644 --- a/test/CodeGen/X86/pic-jtbl.ll +++ b/test/CodeGen/X86/pic-jtbl.ll @@ -6,7 +6,10 @@ ; RUN: grep GOTOFF %t | count 14 ; RUN: grep JTI %t | count 2 -define void @bar(i32 %n.u) { +; X86-64: +; RUN: llvm-as < %s | llc -mtriple=x86_64-pc-linux-gnu -relocation-model=pic > %t +; RUN: grep {LJTI1_0(%rip)} %t +define void @bar(i32 %n.u) nounwind { entry: switch i32 %n.u, label %bb12 [i32 1, label %bb i32 2, label %bb6 i32 4, label %bb7 i32 5, label %bb8 i32 6, label %bb10 i32 7, label %bb1 i32 8, label %bb3 i32 9, label %bb4 i32 10, label %bb9 i32 11, label %bb2 i32 12, label %bb5 i32 13, label %bb11 ] bb: |