Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 -mattr=+sse | FileCheck %s
      2 
      3 define void @t(i8* %ptr) nounwind  {
      4 entry:
      5 ; CHECK: prefetcht2
      6 ; CHECK: prefetcht1
      7 ; CHECK: prefetcht0
      8 ; CHECK: prefetchnta
      9 	tail call void @llvm.prefetch( i8* %ptr, i32 0, i32 1, i32 1 )
     10 	tail call void @llvm.prefetch( i8* %ptr, i32 0, i32 2, i32 1 )
     11 	tail call void @llvm.prefetch( i8* %ptr, i32 0, i32 3, i32 1 )
     12 	tail call void @llvm.prefetch( i8* %ptr, i32 0, i32 0, i32 1 )
     13 	ret void
     14 }
     15 
     16 declare void @llvm.prefetch(i8*, i32, i32, i32) nounwind 
     17