mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
5b7c2c7a93
Add support for the intrinsic llvm.ppc.eieio to emit the instruction eieio. Differential Revision: https://reviews.llvm.org/D69066
16 lines
339 B
LLVM
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()
|