1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/CodeGen/PowerPC/eieio.ll
Anil Mahmud 5b7c2c7a93 [PowerPC] Add support for intrinsic llvm.ppc.eieio
Add support for the intrinsic llvm.ppc.eieio to emit the instruction eieio.

Differential Revision: https://reviews.llvm.org/D69066
2020-02-12 09:02:17 -06:00

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()