1; RUN: llc < %s -march=x86 -mattr=+sse | FileCheck %s 2 3define void @t(i8* %ptr) nounwind { 4entry: 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 16declare void @llvm.prefetch(i8*, i32, i32, i32) nounwind 17