blob: e1c726348ec0e73f9b6171088f6d2aa7d4f2a3ab [file] [log] [blame] [edit]
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=i686-- -mattr=+sse,+prfchw,+movrs | FileCheck %s
; RUN: llc < %s -mtriple=i686-- -mattr=-sse,+prfchw,+movrs | FileCheck %s
define void @t(ptr %ptr) nounwind {
; CHECK-LABEL: t:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
; CHECK-NEXT: prefetchrst2 (%eax)
; CHECK-NEXT: retl
entry:
tail call void @llvm.x86.prefetchrs( ptr %ptr )
ret void
}