llvm-for-llvmta/test/CodeGen/AArch64/GlobalISel/unknown-intrinsic.ll

11 lines
237 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -O0 -mtriple=arm64 < %s
declare i8* @llvm.launder.invariant.group(i8*)
define i8* @barrier(i8* %p) {
; CHECK: bl llvm.launder.invariant.group
%q = call i8* @llvm.launder.invariant.group(i8* %p)
ret i8* %q
}