1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/CodeGen/X86/movdir-intrinsic-x86_64.ll
Gabor Buella 389cae1b12 [X86] movdiri and movdir64b instructions
Reviewers: spatel, craig.topper, RKSimon

Reviewed By: craig.topper, RKSimon

Differential Revision: https://reviews.llvm.org/D45983

llvm-svn: 331248
2018-05-01 10:01:16 +00:00

15 lines
444 B
LLVM

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+movdiri | FileCheck %s
define void @test_movdiri(i8* %p, i64 %v) {
; CHECK-LABEL: test_movdiri:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: movdiri %rsi, (%rdi)
; CHECK-NEXT: retq
entry:
call void @llvm.x86.directstore64(i8* %p, i64 %v)
ret void
}
declare void @llvm.x86.directstore64(i8*, i64)