llvm-project/llvm/test/CodeGen/PowerPC/eieio.ll

16 lines
339 B
LLVM

; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu < %s \
; RUN: -verify-machineinstrs -ppc-asm-full-reg-names \
; RUN: -ppc-vsr-nums-as-vr | FileCheck %s
define void @eieio_test() {
; CHECK-LABEL: @eieio_test
; CHECK: eieio
; CHECK-NEXT: blr
entry:
tail call void @llvm.ppc.eieio()
ret void
}
declare void @llvm.ppc.eieio()