diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2007-11-14 09:18:41 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2007-11-14 09:18:41 +0000 |
commit | 5772c674c773e0c96f6e624000e35840ba56817a (patch) | |
tree | a4abd118102c9533d473631e2761c05088be5245 /test | |
parent | a1d516d638faf6ea9174d7c66e2689f862a15b45 (diff) | |
download | external_llvm-5772c674c773e0c96f6e624000e35840ba56817a.zip external_llvm-5772c674c773e0c96f6e624000e35840ba56817a.tar.gz external_llvm-5772c674c773e0c96f6e624000e35840ba56817a.tar.bz2 |
Fix PIC jump table codegen on x86-32/linux. In fact, such thing should be applied
to all targets uses GOT-relative offsets for PIC (Alpha?)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/test-pic-jtbl.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/test-pic-jtbl.ll b/test/CodeGen/X86/test-pic-jtbl.ll index 516a20b..e23f7c1 100644 --- a/test/CodeGen/X86/test-pic-jtbl.ll +++ b/test/CodeGen/X86/test-pic-jtbl.ll @@ -1,9 +1,9 @@ ; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic \ ; RUN: -o %t -f ; RUN: grep _GLOBAL_OFFSET_TABLE_ %t -; RUN: grep piclabel %t | count 9 +; RUN: grep piclabel %t | count 3 ; RUN: grep PLT %t | count 6 -; RUN: grep GOTOFF %t | count 1 +; RUN: grep GOTOFF %t | count 14 ; RUN: grep JTI %t | count 2 define void @bar(i32 %n.u) { |