; 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 | |
} |