Skip to content

Commit fa2448b

Browse files
paperchaliceaokblast
authored andcommitted
[test][Transforms] Remove unsafe-fp-math uses part 3 (NFC) (llvm#164787)
Post cleanup for llvm#164534.
1 parent b2092ce commit fa2448b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+269
-382
lines changed

llvm/test/Transforms/PhaseOrdering/AArch64/reduce_muladd.ll

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ target triple = "aarch64"
66

77
; This function (a 16x reduction of a[i] * b[i]) should be vectorized successfully.
88

9-
define dso_local nofpclass(nan inf) float @vmlaq(ptr noundef %0, ptr noundef %1) #0 {
9+
define dso_local nofpclass(nan inf) float @vmlaq(ptr noundef %0, ptr noundef %1) {
1010
; CHECK-LABEL: define dso_local nofpclass(nan inf) float @vmlaq
1111
; CHECK-SAME: (ptr noundef readonly captures(none) [[TMP0:%.*]], ptr noundef readonly captures(none) [[TMP1:%.*]]) local_unnamed_addr #[[ATTR0:[0-9]+]] {
1212
; CHECK-NEXT: [[TMP3:%.*]] = load <16 x float>, ptr [[TMP0]], align 4, !tbaa [[TBAA4:![0-9]+]]
@@ -21,9 +21,9 @@ define dso_local nofpclass(nan inf) float @vmlaq(ptr noundef %0, ptr noundef %1)
2121
%6 = alloca i32, align 4
2222
store ptr %0, ptr %3, align 8, !tbaa !4
2323
store ptr %1, ptr %4, align 8, !tbaa !4
24-
call void @llvm.lifetime.start.p0(ptr %5) #2
24+
call void @llvm.lifetime.start.p0(ptr %5)
2525
store float 0.000000e+00, ptr %5, align 4, !tbaa !9
26-
call void @llvm.lifetime.start.p0(ptr %6) #2
26+
call void @llvm.lifetime.start.p0(ptr %6)
2727
store i32 0, ptr %6, align 4, !tbaa !11
2828
br label %7
2929

@@ -33,7 +33,7 @@ define dso_local nofpclass(nan inf) float @vmlaq(ptr noundef %0, ptr noundef %1)
3333
br i1 %9, label %11, label %10
3434

3535
10: ; preds = %7
36-
call void @llvm.lifetime.end.p0(ptr %6) #2
36+
call void @llvm.lifetime.end.p0(ptr %6)
3737
br label %28
3838

3939
11: ; preds = %7
@@ -61,16 +61,12 @@ define dso_local nofpclass(nan inf) float @vmlaq(ptr noundef %0, ptr noundef %1)
6161

6262
28: ; preds = %10
6363
%29 = load float, ptr %5, align 4, !tbaa !9
64-
call void @llvm.lifetime.end.p0(ptr %5) #2
64+
call void @llvm.lifetime.end.p0(ptr %5)
6565
ret float %29
6666
}
6767

68-
declare void @llvm.lifetime.start.p0(ptr captures(none)) #1
69-
declare void @llvm.lifetime.end.p0(ptr captures(none)) #1
70-
71-
attributes #0 = { nounwind uwtable "frame-pointer"="non-leaf" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="generic" "target-features"="+fp-armv8,+neon,+v8a,-fmv" "unsafe-fp-math"="true" }
72-
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
73-
attributes #2 = { nounwind }
68+
declare void @llvm.lifetime.start.p0(ptr captures(none))
69+
declare void @llvm.lifetime.end.p0(ptr captures(none))
7470

7571
!llvm.module.flags = !{!0, !1, !2}
7672
!llvm.ident = !{!3}

llvm/test/Transforms/PhaseOrdering/AArch64/reduce_submuladd.ll

Lines changed: 20 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ target triple = "aarch64"
66

77
; This function (a more complex reduction of (a[i] - b[i]) * itself) should be vectorized successfully.
88

9-
define dso_local noundef nofpclass(nan inf) float @_Z4testPKfS0_ii(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
9+
define dso_local noundef nofpclass(nan inf) float @_Z4testPKfS0_ii(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) {
1010
; CHECK-LABEL: define dso_local noundef nofpclass(nan inf) float @_Z4testPKfS0_ii
1111
; CHECK-SAME: (ptr noundef readonly captures(none) [[TMP0:%.*]], ptr noundef readonly captures(none) [[TMP1:%.*]], i32 noundef [[TMP2:%.*]], i32 noundef [[TMP3:%.*]]) local_unnamed_addr #[[ATTR0:[0-9]+]] {
1212
; CHECK-NEXT: .preheader.i:
@@ -125,7 +125,7 @@ define dso_local noundef nofpclass(nan inf) float @_Z4testPKfS0_ii(ptr noundef %
125125
ret float %13
126126
}
127127

128-
define internal noundef nofpclass(nan inf) float @_ZL6reduceILi7EEfPKfS1_ii(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #1 {
128+
define internal noundef nofpclass(nan inf) float @_ZL6reduceILi7EEfPKfS1_ii(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) {
129129
%5 = alloca ptr, align 8
130130
%6 = alloca ptr, align 8
131131
%7 = alloca i32, align 4
@@ -143,15 +143,15 @@ define internal noundef nofpclass(nan inf) float @_ZL6reduceILi7EEfPKfS1_ii(ptr
143143
store ptr %1, ptr %6, align 8, !tbaa !4
144144
store i32 %2, ptr %7, align 4, !tbaa !9
145145
store i32 %3, ptr %8, align 4, !tbaa !9
146-
call void @llvm.lifetime.start.p0(ptr %9) #3
146+
call void @llvm.lifetime.start.p0(ptr %9)
147147
store i32 3, ptr %9, align 4, !tbaa !9
148-
call void @llvm.lifetime.start.p0(ptr %10) #3
148+
call void @llvm.lifetime.start.p0(ptr %10)
149149
store i32 3, ptr %10, align 4, !tbaa !9
150-
call void @llvm.lifetime.start.p0(ptr %11) #3
150+
call void @llvm.lifetime.start.p0(ptr %11)
151151
store i32 7, ptr %11, align 4, !tbaa !9
152-
call void @llvm.lifetime.start.p0(ptr %12) #3
152+
call void @llvm.lifetime.start.p0(ptr %12)
153153
store float 0.000000e+00, ptr %12, align 4, !tbaa !11
154-
call void @llvm.lifetime.start.p0(ptr %13) #3
154+
call void @llvm.lifetime.start.p0(ptr %13)
155155
store i32 0, ptr %13, align 4, !tbaa !9
156156
br label %18
157157

@@ -162,13 +162,13 @@ define internal noundef nofpclass(nan inf) float @_ZL6reduceILi7EEfPKfS1_ii(ptr
162162

163163
21: ; preds = %18
164164
store i32 2, ptr %14, align 4
165-
call void @llvm.lifetime.end.p0(ptr %13) #3
165+
call void @llvm.lifetime.end.p0(ptr %13)
166166
br label %62
167167

168168
22: ; preds = %18
169-
call void @llvm.lifetime.start.p0(ptr %15) #3
169+
call void @llvm.lifetime.start.p0(ptr %15)
170170
store float 0.000000e+00, ptr %15, align 4, !tbaa !11
171-
call void @llvm.lifetime.start.p0(ptr %16) #3
171+
call void @llvm.lifetime.start.p0(ptr %16)
172172
store i32 0, ptr %16, align 4, !tbaa !9
173173
br label %23
174174

@@ -179,11 +179,11 @@ define internal noundef nofpclass(nan inf) float @_ZL6reduceILi7EEfPKfS1_ii(ptr
179179

180180
26: ; preds = %23
181181
store i32 5, ptr %14, align 4
182-
call void @llvm.lifetime.end.p0(ptr %16) #3
182+
call void @llvm.lifetime.end.p0(ptr %16)
183183
br label %47
184184

185185
27: ; preds = %23
186-
call void @llvm.lifetime.start.p0(ptr %17) #3
186+
call void @llvm.lifetime.start.p0(ptr %17)
187187
%28 = load ptr, ptr %5, align 8, !tbaa !4
188188
%29 = load i32, ptr %16, align 4, !tbaa !9
189189
%30 = sext i32 %29 to i64
@@ -202,7 +202,7 @@ define internal noundef nofpclass(nan inf) float @_ZL6reduceILi7EEfPKfS1_ii(ptr
202202
%42 = load float, ptr %15, align 4, !tbaa !11
203203
%43 = fadd fast float %42, %41
204204
store float %43, ptr %15, align 4, !tbaa !11
205-
call void @llvm.lifetime.end.p0(ptr %17) #3
205+
call void @llvm.lifetime.end.p0(ptr %17)
206206
br label %44
207207

208208
44: ; preds = %27
@@ -226,7 +226,7 @@ define internal noundef nofpclass(nan inf) float @_ZL6reduceILi7EEfPKfS1_ii(ptr
226226
%57 = load float, ptr %12, align 4, !tbaa !11
227227
%58 = fadd fast float %57, %56
228228
store float %58, ptr %12, align 4, !tbaa !11
229-
call void @llvm.lifetime.end.p0(ptr %15) #3
229+
call void @llvm.lifetime.end.p0(ptr %15)
230230
br label %59
231231

232232
59: ; preds = %47
@@ -238,20 +238,15 @@ define internal noundef nofpclass(nan inf) float @_ZL6reduceILi7EEfPKfS1_ii(ptr
238238
62: ; preds = %21
239239
%63 = load float, ptr %12, align 4, !tbaa !11
240240
store i32 1, ptr %14, align 4
241-
call void @llvm.lifetime.end.p0(ptr %12) #3
242-
call void @llvm.lifetime.end.p0(ptr %11) #3
243-
call void @llvm.lifetime.end.p0(ptr %10) #3
244-
call void @llvm.lifetime.end.p0(ptr %9) #3
241+
call void @llvm.lifetime.end.p0(ptr %12)
242+
call void @llvm.lifetime.end.p0(ptr %11)
243+
call void @llvm.lifetime.end.p0(ptr %10)
244+
call void @llvm.lifetime.end.p0(ptr %9)
245245
ret float %63
246246
}
247247

248-
declare void @llvm.lifetime.start.p0(ptr captures(none)) #2
249-
declare void @llvm.lifetime.end.p0(ptr captures(none)) #2
250-
251-
attributes #0 = { mustprogress uwtable "frame-pointer"="non-leaf" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="generic" "target-features"="+fp-armv8,+neon,+v8a,-fmv" "unsafe-fp-math"="true" }
252-
attributes #1 = { inlinehint mustprogress nounwind uwtable "frame-pointer"="non-leaf" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="generic" "target-features"="+fp-armv8,+neon,+v8a,-fmv" "unsafe-fp-math"="true" }
253-
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
254-
attributes #3 = { nounwind }
248+
declare void @llvm.lifetime.start.p0(ptr captures(none))
249+
declare void @llvm.lifetime.end.p0(ptr captures(none))
255250

256251
!llvm.module.flags = !{!0, !1, !2}
257252
!llvm.ident = !{!3}

llvm/test/Transforms/PhaseOrdering/AArch64/slpordering.ll

Lines changed: 38 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32"
1010
target triple = "aarch64"
1111

1212
; Function Attrs: nounwind uwtable
13-
define i32 @slpordering(ptr noundef %p1, i32 noundef %ip1, ptr noundef %p2, i32 noundef %ip2) #0 {
13+
define i32 @slpordering(ptr noundef %p1, i32 noundef %ip1, ptr noundef %p2, i32 noundef %ip2) {
1414
; CHECK-LABEL: define range(i32 0, 65536) i32 @slpordering(
1515
; CHECK-SAME: ptr noundef readonly captures(none) [[P1:%.*]], i32 noundef [[IP1:%.*]], ptr noundef readonly captures(none) [[P2:%.*]], i32 noundef [[IP2:%.*]]) local_unnamed_addr #[[ATTR0:[0-9]+]] {
1616
; CHECK-NEXT: [[ENTRY:.*:]]
@@ -136,14 +136,14 @@ entry:
136136
store i32 %ip1, ptr %ip1.addr, align 4, !tbaa !8
137137
store ptr %p2, ptr %p2.addr, align 8, !tbaa !4
138138
store i32 %ip2, ptr %ip2.addr, align 4, !tbaa !8
139-
call void @llvm.lifetime.start.p0(ptr %emp) #2
140-
call void @llvm.lifetime.start.p0(ptr %r0) #2
141-
call void @llvm.lifetime.start.p0(ptr %r1) #2
142-
call void @llvm.lifetime.start.p0(ptr %r2) #2
143-
call void @llvm.lifetime.start.p0(ptr %r3) #2
144-
call void @llvm.lifetime.start.p0(ptr %sum) #2
139+
call void @llvm.lifetime.start.p0(ptr %emp)
140+
call void @llvm.lifetime.start.p0(ptr %r0)
141+
call void @llvm.lifetime.start.p0(ptr %r1)
142+
call void @llvm.lifetime.start.p0(ptr %r2)
143+
call void @llvm.lifetime.start.p0(ptr %r3)
144+
call void @llvm.lifetime.start.p0(ptr %sum)
145145
store i32 0, ptr %sum, align 4, !tbaa !8
146-
call void @llvm.lifetime.start.p0(ptr %i) #2
146+
call void @llvm.lifetime.start.p0(ptr %i)
147147
store i32 0, ptr %i, align 4, !tbaa !8
148148
br label %for.cond
149149

@@ -153,7 +153,7 @@ for.cond: ; preds = %for.inc, %entry
153153
br i1 %cmp, label %for.body, label %for.cond.cleanup
154154

155155
for.cond.cleanup: ; preds = %for.cond
156-
call void @llvm.lifetime.end.p0(ptr %i) #2
156+
call void @llvm.lifetime.end.p0(ptr %i)
157157
br label %for.end
158158

159159
for.body: ; preds = %for.cond
@@ -241,22 +241,22 @@ for.body: ; preds = %for.cond
241241
%shl42 = shl i32 %sub41, 16
242242
%rdd43 = add nsw i32 %sub36, %shl42
243243
store i32 %rdd43, ptr %r3, align 4, !tbaa !8
244-
call void @llvm.lifetime.start.p0(ptr %e0) #2
244+
call void @llvm.lifetime.start.p0(ptr %e0)
245245
%33 = load i32, ptr %r0, align 4, !tbaa !8
246246
%34 = load i32, ptr %r1, align 4, !tbaa !8
247247
%rdd44 = add i32 %33, %34
248248
store i32 %rdd44, ptr %e0, align 4, !tbaa !8
249-
call void @llvm.lifetime.start.p0(ptr %e1) #2
249+
call void @llvm.lifetime.start.p0(ptr %e1)
250250
%35 = load i32, ptr %r0, align 4, !tbaa !8
251251
%36 = load i32, ptr %r1, align 4, !tbaa !8
252252
%sub45 = sub i32 %35, %36
253253
store i32 %sub45, ptr %e1, align 4, !tbaa !8
254-
call void @llvm.lifetime.start.p0(ptr %e2) #2
254+
call void @llvm.lifetime.start.p0(ptr %e2)
255255
%37 = load i32, ptr %r2, align 4, !tbaa !8
256256
%38 = load i32, ptr %r3, align 4, !tbaa !8
257257
%rdd46 = add i32 %37, %38
258258
store i32 %rdd46, ptr %e2, align 4, !tbaa !8
259-
call void @llvm.lifetime.start.p0(ptr %e3) #2
259+
call void @llvm.lifetime.start.p0(ptr %e3)
260260
%39 = load i32, ptr %r2, align 4, !tbaa !8
261261
%40 = load i32, ptr %r3, align 4, !tbaa !8
262262
%sub47 = sub i32 %39, %40
@@ -293,10 +293,10 @@ for.body: ; preds = %for.cond
293293
%rrrayidx61 = getelementptr inbounds [4 x [4 x i32]], ptr %emp, i64 0, i64 %idxprom60
294294
%rrrayidx62 = getelementptr inbounds [4 x i32], ptr %rrrayidx61, i64 0, i64 3
295295
store i32 %sub59, ptr %rrrayidx62, align 4, !tbaa !8
296-
call void @llvm.lifetime.end.p0(ptr %e3) #2
297-
call void @llvm.lifetime.end.p0(ptr %e2) #2
298-
call void @llvm.lifetime.end.p0(ptr %e1) #2
299-
call void @llvm.lifetime.end.p0(ptr %e0) #2
296+
call void @llvm.lifetime.end.p0(ptr %e3)
297+
call void @llvm.lifetime.end.p0(ptr %e2)
298+
call void @llvm.lifetime.end.p0(ptr %e1)
299+
call void @llvm.lifetime.end.p0(ptr %e0)
300300
br label %for.inc
301301

302302
for.inc: ; preds = %for.body
@@ -316,7 +316,7 @@ for.inc: ; preds = %for.body
316316
br label %for.cond, !llvm.loop !11
317317

318318
for.end: ; preds = %for.cond.cleanup
319-
call void @llvm.lifetime.start.p0(ptr %i65) #2
319+
call void @llvm.lifetime.start.p0(ptr %i65)
320320
store i32 0, ptr %i65, align 4, !tbaa !8
321321
br label %for.cond66
322322

@@ -326,11 +326,11 @@ for.cond66: ; preds = %for.inc114, %for.en
326326
br i1 %cmp67, label %for.body70, label %for.cond.cleanup69
327327

328328
for.cond.cleanup69: ; preds = %for.cond66
329-
call void @llvm.lifetime.end.p0(ptr %i65) #2
329+
call void @llvm.lifetime.end.p0(ptr %i65)
330330
br label %for.end116
331331

332332
for.body70: ; preds = %for.cond66
333-
call void @llvm.lifetime.start.p0(ptr %e071) #2
333+
call void @llvm.lifetime.start.p0(ptr %e071)
334334
%rrrayidx72 = getelementptr inbounds [4 x [4 x i32]], ptr %emp, i64 0, i64 0
335335
%59 = load i32, ptr %i65, align 4, !tbaa !8
336336
%idxprom73 = sext i32 %59 to i64
@@ -343,7 +343,7 @@ for.body70: ; preds = %for.cond66
343343
%62 = load i32, ptr %rrrayidx77, align 4, !tbaa !8
344344
%rdd78 = add i32 %60, %62
345345
store i32 %rdd78, ptr %e071, align 4, !tbaa !8
346-
call void @llvm.lifetime.start.p0(ptr %e179) #2
346+
call void @llvm.lifetime.start.p0(ptr %e179)
347347
%rrrayidx80 = getelementptr inbounds [4 x [4 x i32]], ptr %emp, i64 0, i64 0
348348
%63 = load i32, ptr %i65, align 4, !tbaa !8
349349
%idxprom81 = sext i32 %63 to i64
@@ -356,7 +356,7 @@ for.body70: ; preds = %for.cond66
356356
%66 = load i32, ptr %rrrayidx85, align 4, !tbaa !8
357357
%sub86 = sub i32 %64, %66
358358
store i32 %sub86, ptr %e179, align 4, !tbaa !8
359-
call void @llvm.lifetime.start.p0(ptr %e287) #2
359+
call void @llvm.lifetime.start.p0(ptr %e287)
360360
%rrrayidx88 = getelementptr inbounds [4 x [4 x i32]], ptr %emp, i64 0, i64 2
361361
%67 = load i32, ptr %i65, align 4, !tbaa !8
362362
%idxprom89 = sext i32 %67 to i64
@@ -369,7 +369,7 @@ for.body70: ; preds = %for.cond66
369369
%70 = load i32, ptr %rrrayidx93, align 4, !tbaa !8
370370
%rdd94 = add i32 %68, %70
371371
store i32 %rdd94, ptr %e287, align 4, !tbaa !8
372-
call void @llvm.lifetime.start.p0(ptr %e395) #2
372+
call void @llvm.lifetime.start.p0(ptr %e395)
373373
%rrrayidx96 = getelementptr inbounds [4 x [4 x i32]], ptr %emp, i64 0, i64 2
374374
%71 = load i32, ptr %i65, align 4, !tbaa !8
375375
%idxprom97 = sext i32 %71 to i64
@@ -398,10 +398,10 @@ for.body70: ; preds = %for.cond66
398398
%82 = load i32, ptr %e395, align 4, !tbaa !8
399399
%sub106 = sub nsw i32 %81, %82
400400
store i32 %sub106, ptr %r3, align 4, !tbaa !8
401-
call void @llvm.lifetime.end.p0(ptr %e395) #2
402-
call void @llvm.lifetime.end.p0(ptr %e287) #2
403-
call void @llvm.lifetime.end.p0(ptr %e179) #2
404-
call void @llvm.lifetime.end.p0(ptr %e071) #2
401+
call void @llvm.lifetime.end.p0(ptr %e395)
402+
call void @llvm.lifetime.end.p0(ptr %e287)
403+
call void @llvm.lifetime.end.p0(ptr %e179)
404+
call void @llvm.lifetime.end.p0(ptr %e071)
405405
%83 = load i32, ptr %r0, align 4, !tbaa !8
406406
%call = call i32 @twoabs(i32 noundef %83)
407407
%84 = load i32, ptr %r1, align 4, !tbaa !8
@@ -432,28 +432,28 @@ for.end116: ; preds = %for.cond.cleanup69
432432
%shr = lshr i32 %90, 16
433433
%rdd119 = add i32 %conv118, %shr
434434
%shr120 = lshr i32 %rdd119, 1
435-
call void @llvm.lifetime.end.p0(ptr %sum) #2
436-
call void @llvm.lifetime.end.p0(ptr %r3) #2
437-
call void @llvm.lifetime.end.p0(ptr %r2) #2
438-
call void @llvm.lifetime.end.p0(ptr %r1) #2
439-
call void @llvm.lifetime.end.p0(ptr %r0) #2
440-
call void @llvm.lifetime.end.p0(ptr %emp) #2
435+
call void @llvm.lifetime.end.p0(ptr %sum)
436+
call void @llvm.lifetime.end.p0(ptr %r3)
437+
call void @llvm.lifetime.end.p0(ptr %r2)
438+
call void @llvm.lifetime.end.p0(ptr %r1)
439+
call void @llvm.lifetime.end.p0(ptr %r0)
440+
call void @llvm.lifetime.end.p0(ptr %emp)
441441
ret i32 %shr120
442442
}
443443

444444
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
445-
declare void @llvm.lifetime.start.p0(ptr nocapture) #1
445+
declare void @llvm.lifetime.start.p0(ptr nocapture)
446446

447447
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
448-
declare void @llvm.lifetime.end.p0(ptr nocapture) #1
448+
declare void @llvm.lifetime.end.p0(ptr nocapture)
449449

450450
; Function Attrs: nounwind uwtable
451-
define internal i32 @twoabs(i32 noundef %r) #0 {
451+
define internal i32 @twoabs(i32 noundef %r) {
452452
entry:
453453
%r.addr = alloca i32, align 4
454454
%s = alloca i32, align 4
455455
store i32 %r, ptr %r.addr, align 4, !tbaa !8
456-
call void @llvm.lifetime.start.p0(ptr %s) #2
456+
call void @llvm.lifetime.start.p0(ptr %s)
457457
%0 = load i32, ptr %r.addr, align 4, !tbaa !8
458458
%shr = lshr i32 %0, 15
459459
%rnd = and i32 %shr, 65537
@@ -464,14 +464,10 @@ entry:
464464
%rdd = add i32 %1, %2
465465
%3 = load i32, ptr %s, align 4, !tbaa !8
466466
%xor = xor i32 %rdd, %3
467-
call void @llvm.lifetime.end.p0(ptr %s) #2
467+
call void @llvm.lifetime.end.p0(ptr %s)
468468
ret i32 %xor
469469
}
470470

471-
attributes #0 = { nounwind uwtable "frame-pointer"="non-leaf" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="generic" "target-features"="+fp-armv8,+neon,+v8a,-fmv" "unsafe-fp-math"="true" }
472-
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
473-
attributes #2 = { nounwind }
474-
475471
!4 = !{!5, !5, i64 0}
476472
!5 = !{!"any pointer", !6, i64 0}
477473
!6 = !{!"omnipotent char", !7, i64 0}

0 commit comments

Comments
 (0)