diff options
Diffstat (limited to 'test/CodeGen/X86/fast-isel-noplt-pic.ll')
| -rw-r--r-- | test/CodeGen/X86/fast-isel-noplt-pic.ll | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fast-isel-noplt-pic.ll b/test/CodeGen/X86/fast-isel-noplt-pic.ll new file mode 100644 index 0000000000000..575ed365d6569 --- /dev/null +++ b/test/CodeGen/X86/fast-isel-noplt-pic.ll @@ -0,0 +1,16 @@ +; RUN: llc -mtriple x86_64-unknown-linux-gnu -O0 -fast-isel=true -relocation-model=pic -filetype asm -o - %s | FileCheck %s + +declare void @f() local_unnamed_addr #0 + +define void @g() local_unnamed_addr { +entry: + call void @f() + ret void +} + +attributes #0 = { nonlazybind } + +; CHECK-LABEL: g: +; CHECK-LABEL: callq *f@GOTPCREL(%rip) +; CHECK-LABEL: retq + |
