-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
b413e5c
commit ab4d606
Showing
3 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
; 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() |