Add a generic reloc_none test

This commit is contained in:
Daniel Thornburgh 2025-07-23 15:01:09 -07:00
parent 5a056672cb
commit bd4dd9ca02

View File

@ -0,0 +1,10 @@
; RUN: llc < %s | FileCheck %s
; CHECK: .reloc {{.*}}, BFD_RELOC_NONE, foo
define void @test_reloc_none() {
call void @llvm.reloc.none(metadata !"foo")
ret void
}
declare void @llvm.reloc.none(metadata)