mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294407 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
458 B
LLVM
14 lines
458 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=clflushopt | FileCheck %s
|
|
|
|
define void @clflushopt(i8* %p) nounwind {
|
|
; CHECK-LABEL: clflushopt:
|
|
; CHECK: ## BB#0:
|
|
; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
|
|
; CHECK-NEXT: clflushopt (%eax)
|
|
; CHECK-NEXT: retl
|
|
tail call void @llvm.x86.clflushopt(i8* %p)
|
|
ret void
|
|
}
|
|
declare void @llvm.x86.clflushopt(i8*) nounwind
|