Prevents infinite loop issue recorded in #147427. More work will be required to make @llvm.reloc_none work correctly on Hexagon.
12 lines
246 B
LLVM
12 lines
246 B
LLVM
; RUN: llc < %s | FileCheck %s
|
|
|
|
; CHECK: .reloc {{.*}}, BFD_RELOC_NONE, foo
|
|
; UNSUPPORTED: target=hexagon{{.*}}
|
|
|
|
define void @test_reloc_none() {
|
|
call void @llvm.reloc.none(metadata !"foo")
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.reloc.none(metadata)
|