18 lines
529 B
LLVM
18 lines
529 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc -mtriple=x86_64-linux-gnu -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=CHECK
|
|
|
|
%1 = type opaque
|
|
@foo = external global %1
|
|
|
|
define void @test_reloc_none() {
|
|
; CHECK-LABEL: test_reloc_none:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: .Lreloc_none0:
|
|
; CHECK-NEXT: .reloc .Lreloc_none0, BFD_RELOC_NONE, foo
|
|
; CHECK-NEXT: retq
|
|
call void @llvm.reloc.none(ptr @foo)
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.reloc.none(ptr)
|