diff --git a/llvm/test/CodeGen/Generic/reloc_none.ll b/llvm/test/CodeGen/Generic/reloc_none.ll new file mode 100644 index 000000000000..0c8b7a57aca8 --- /dev/null +++ b/llvm/test/CodeGen/Generic/reloc_none.ll @@ -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)