@@ -33,6 +33,7 @@ define void @test_prefetch_read_locality_0(ptr %a) nounwind {
33
33
;
34
34
; RV64ZICBOPZIHINTNTL-LABEL: test_prefetch_read_locality_0:
35
35
; RV64ZICBOPZIHINTNTL: # %bb.0:
36
+ ; RV64ZICBOPZIHINTNTL-NEXT: ntl.all
36
37
; RV64ZICBOPZIHINTNTL-NEXT: prefetch.r 0(a0)
37
38
; RV64ZICBOPZIHINTNTL-NEXT: ret
38
39
call void @llvm.prefetch (ptr %a , i32 0 , i32 0 , i32 1 )
@@ -60,6 +61,7 @@ define void @test_prefetch_write_locality_0(ptr %a) nounwind {
60
61
;
61
62
; RV64ZICBOPZIHINTNTL-LABEL: test_prefetch_write_locality_0:
62
63
; RV64ZICBOPZIHINTNTL: # %bb.0:
64
+ ; RV64ZICBOPZIHINTNTL-NEXT: ntl.all
63
65
; RV64ZICBOPZIHINTNTL-NEXT: prefetch.w 0(a0)
64
66
; RV64ZICBOPZIHINTNTL-NEXT: ret
65
67
call void @llvm.prefetch (ptr %a , i32 1 , i32 0 , i32 1 )
@@ -87,6 +89,7 @@ define void @test_prefetch_instruction_locality_0(ptr %a) nounwind {
87
89
;
88
90
; RV64ZICBOPZIHINTNTL-LABEL: test_prefetch_instruction_locality_0:
89
91
; RV64ZICBOPZIHINTNTL: # %bb.0:
92
+ ; RV64ZICBOPZIHINTNTL-NEXT: ntl.all
90
93
; RV64ZICBOPZIHINTNTL-NEXT: prefetch.i 0(a0)
91
94
; RV64ZICBOPZIHINTNTL-NEXT: ret
92
95
call void @llvm.prefetch (ptr %a , i32 0 , i32 0 , i32 0 )
@@ -114,6 +117,7 @@ define void @test_prefetch_read_locality_1(ptr %a) nounwind {
114
117
;
115
118
; RV64ZICBOPZIHINTNTL-LABEL: test_prefetch_read_locality_1:
116
119
; RV64ZICBOPZIHINTNTL: # %bb.0:
120
+ ; RV64ZICBOPZIHINTNTL-NEXT: ntl.pall
117
121
; RV64ZICBOPZIHINTNTL-NEXT: prefetch.r 0(a0)
118
122
; RV64ZICBOPZIHINTNTL-NEXT: ret
119
123
call void @llvm.prefetch (ptr %a , i32 0 , i32 1 , i32 1 )
@@ -141,6 +145,7 @@ define void @test_prefetch_write_locality_1(ptr %a) nounwind {
141
145
;
142
146
; RV64ZICBOPZIHINTNTL-LABEL: test_prefetch_write_locality_1:
143
147
; RV64ZICBOPZIHINTNTL: # %bb.0:
148
+ ; RV64ZICBOPZIHINTNTL-NEXT: ntl.pall
144
149
; RV64ZICBOPZIHINTNTL-NEXT: prefetch.w 0(a0)
145
150
; RV64ZICBOPZIHINTNTL-NEXT: ret
146
151
call void @llvm.prefetch (ptr %a , i32 1 , i32 1 , i32 1 )
@@ -168,6 +173,7 @@ define void @test_prefetch_instruction_locality_1(ptr %a) nounwind {
168
173
;
169
174
; RV64ZICBOPZIHINTNTL-LABEL: test_prefetch_instruction_locality_1:
170
175
; RV64ZICBOPZIHINTNTL: # %bb.0:
176
+ ; RV64ZICBOPZIHINTNTL-NEXT: ntl.pall
171
177
; RV64ZICBOPZIHINTNTL-NEXT: prefetch.i 0(a0)
172
178
; RV64ZICBOPZIHINTNTL-NEXT: ret
173
179
call void @llvm.prefetch (ptr %a , i32 0 , i32 1 , i32 0 )
@@ -195,6 +201,7 @@ define void @test_prefetch_read_locality_2(ptr %a) nounwind {
195
201
;
196
202
; RV64ZICBOPZIHINTNTL-LABEL: test_prefetch_read_locality_2:
197
203
; RV64ZICBOPZIHINTNTL: # %bb.0:
204
+ ; RV64ZICBOPZIHINTNTL-NEXT: ntl.p1
198
205
; RV64ZICBOPZIHINTNTL-NEXT: prefetch.r 0(a0)
199
206
; RV64ZICBOPZIHINTNTL-NEXT: ret
200
207
call void @llvm.prefetch (ptr %a , i32 0 , i32 2 , i32 1 )
@@ -222,6 +229,7 @@ define void @test_prefetch_write_locality_2(ptr %a) nounwind {
222
229
;
223
230
; RV64ZICBOPZIHINTNTL-LABEL: test_prefetch_write_locality_2:
224
231
; RV64ZICBOPZIHINTNTL: # %bb.0:
232
+ ; RV64ZICBOPZIHINTNTL-NEXT: ntl.p1
225
233
; RV64ZICBOPZIHINTNTL-NEXT: prefetch.w 0(a0)
226
234
; RV64ZICBOPZIHINTNTL-NEXT: ret
227
235
call void @llvm.prefetch (ptr %a , i32 1 , i32 2 , i32 1 )
@@ -249,6 +257,7 @@ define void @test_prefetch_instruction_locality_2(ptr %a) nounwind {
249
257
;
250
258
; RV64ZICBOPZIHINTNTL-LABEL: test_prefetch_instruction_locality_2:
251
259
; RV64ZICBOPZIHINTNTL: # %bb.0:
260
+ ; RV64ZICBOPZIHINTNTL-NEXT: ntl.p1
252
261
; RV64ZICBOPZIHINTNTL-NEXT: prefetch.i 0(a0)
253
262
; RV64ZICBOPZIHINTNTL-NEXT: ret
254
263
call void @llvm.prefetch (ptr %a , i32 0 , i32 2 , i32 0 )
0 commit comments