summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/movdir-intrinsic-x86_64.ll
blob: 91d10b1abb037bcdb717fff0817b86c9e92bc47a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; 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)
OpenPOWER on IntegriCloud