1 ; This test does not check the machine code output.
2 ; RUN: llc -march=mips < %s
4 @stat_vol_ptr_int = internal global ptr null, align 4
5 @stat_ptr_vol_int = internal global ptr null, align 4
7 define void @simple_vol_file() nounwind {
9 %tmp = load volatile ptr, ptr @stat_vol_ptr_int, align 4
10 call void @llvm.prefetch(ptr %tmp, i32 0, i32 0, i32 1)
11 %tmp1 = load ptr, ptr @stat_ptr_vol_int, align 4
12 call void @llvm.prefetch(ptr %tmp1, i32 0, i32 0, i32 1)
16 declare void @llvm.prefetch(ptr nocapture, i32, i32, i32) nounwind