@@ -404,16 +404,16 @@ declare void @llvm.memset(i8* %dest, i8 %val, i32 %len, i1 %isvolatile)
404
404
; It is odd to add nocapture but a result of the llvm.memcpy nocapture.
405
405
;
406
406
define i32 @memcpy_volatile (i8* %ptr1 , i8* %ptr2 ) {
407
- ; IS__TUNIT____: Function Attrs: argmemonly nofree nosync nounwind willreturn
407
+ ; IS__TUNIT____: Function Attrs: argmemonly nofree nounwind willreturn
408
408
; IS__TUNIT____-LABEL: define {{[^@]+}}@memcpy_volatile
409
409
; IS__TUNIT____-SAME: (i8* nocapture nofree writeonly [[PTR1:%.*]], i8* nocapture nofree readonly [[PTR2:%.*]]) #[[ATTR10:[0-9]+]] {
410
- ; IS__TUNIT____-NEXT: call void @llvm.memcpy.p0i8.p0i8.i32(i8* noalias nocapture nofree writeonly [[PTR1]], i8* noalias nocapture nofree readonly [[PTR2]], i32 noundef 8, i1 noundef true) #[[ATTR17 :[0-9]+]]
410
+ ; IS__TUNIT____-NEXT: call void @llvm.memcpy.p0i8.p0i8.i32(i8* noalias nocapture nofree writeonly [[PTR1]], i8* noalias nocapture nofree readonly [[PTR2]], i32 noundef 8, i1 noundef true) #[[ATTR18 :[0-9]+]]
411
411
; IS__TUNIT____-NEXT: ret i32 4
412
412
;
413
- ; IS__CGSCC____: Function Attrs: argmemonly nofree nosync nounwind willreturn
413
+ ; IS__CGSCC____: Function Attrs: argmemonly nofree nounwind willreturn
414
414
; IS__CGSCC____-LABEL: define {{[^@]+}}@memcpy_volatile
415
415
; IS__CGSCC____-SAME: (i8* nocapture nofree writeonly [[PTR1:%.*]], i8* nocapture nofree readonly [[PTR2:%.*]]) #[[ATTR10:[0-9]+]] {
416
- ; IS__CGSCC____-NEXT: call void @llvm.memcpy.p0i8.p0i8.i32(i8* noalias nocapture nofree writeonly [[PTR1]], i8* noalias nocapture nofree readonly [[PTR2]], i32 noundef 8, i1 noundef true) #[[ATTR18 :[0-9]+]]
416
+ ; IS__CGSCC____-NEXT: call void @llvm.memcpy.p0i8.p0i8.i32(i8* noalias nocapture nofree writeonly [[PTR1]], i8* noalias nocapture nofree readonly [[PTR2]], i32 noundef 8, i1 noundef true) #[[ATTR19 :[0-9]+]]
417
417
; IS__CGSCC____-NEXT: ret i32 4
418
418
;
419
419
call void @llvm.memcpy (i8* %ptr1 , i8* %ptr2 , i32 8 , i1 1 )
@@ -428,13 +428,13 @@ define i32 @memset_non_volatile(i8* %ptr1, i8 %val) {
428
428
; IS__TUNIT____: Function Attrs: argmemonly nofree nosync nounwind willreturn writeonly
429
429
; IS__TUNIT____-LABEL: define {{[^@]+}}@memset_non_volatile
430
430
; IS__TUNIT____-SAME: (i8* nocapture nofree writeonly [[PTR1:%.*]], i8 [[VAL:%.*]]) #[[ATTR11:[0-9]+]] {
431
- ; IS__TUNIT____-NEXT: call void @llvm.memset.p0i8.i32(i8* nocapture nofree writeonly [[PTR1]], i8 [[VAL]], i32 noundef 8, i1 noundef false) #[[ATTR18 :[0-9]+]]
431
+ ; IS__TUNIT____-NEXT: call void @llvm.memset.p0i8.i32(i8* nocapture nofree writeonly [[PTR1]], i8 [[VAL]], i32 noundef 8, i1 noundef false) #[[ATTR19 :[0-9]+]]
432
432
; IS__TUNIT____-NEXT: ret i32 4
433
433
;
434
434
; IS__CGSCC____: Function Attrs: argmemonly nofree nosync nounwind willreturn writeonly
435
435
; IS__CGSCC____-LABEL: define {{[^@]+}}@memset_non_volatile
436
436
; IS__CGSCC____-SAME: (i8* nocapture nofree writeonly [[PTR1:%.*]], i8 [[VAL:%.*]]) #[[ATTR11:[0-9]+]] {
437
- ; IS__CGSCC____-NEXT: call void @llvm.memset.p0i8.i32(i8* nocapture nofree writeonly [[PTR1]], i8 [[VAL]], i32 noundef 8, i1 noundef false) #[[ATTR19 :[0-9]+]]
437
+ ; IS__CGSCC____-NEXT: call void @llvm.memset.p0i8.i32(i8* nocapture nofree writeonly [[PTR1]], i8 [[VAL]], i32 noundef 8, i1 noundef false) #[[ATTR20 :[0-9]+]]
438
438
; IS__CGSCC____-NEXT: ret i32 4
439
439
;
440
440
call void @llvm.memset (i8* %ptr1 , i8 %val , i32 8 , i1 0 )
@@ -508,13 +508,13 @@ define float @cos_test2(float %x) {
508
508
; IS__TUNIT____: Function Attrs: nofree nosync nounwind readnone willreturn
509
509
; IS__TUNIT____-LABEL: define {{[^@]+}}@cos_test2
510
510
; IS__TUNIT____-SAME: (float [[X:%.*]]) #[[ATTR15]] {
511
- ; IS__TUNIT____-NEXT: [[C:%.*]] = call float @llvm.cos.f32(float [[X]]) #[[ATTR19 :[0-9]+]]
511
+ ; IS__TUNIT____-NEXT: [[C:%.*]] = call float @llvm.cos.f32(float [[X]]) #[[ATTR20 :[0-9]+]]
512
512
; IS__TUNIT____-NEXT: ret float [[C]]
513
513
;
514
514
; IS__CGSCC____: Function Attrs: nofree nosync nounwind readnone willreturn
515
515
; IS__CGSCC____-LABEL: define {{[^@]+}}@cos_test2
516
516
; IS__CGSCC____-SAME: (float [[X:%.*]]) #[[ATTR16:[0-9]+]] {
517
- ; IS__CGSCC____-NEXT: [[C:%.*]] = call float @llvm.cos.f32(float [[X]]) #[[ATTR20 :[0-9]+]]
517
+ ; IS__CGSCC____-NEXT: [[C:%.*]] = call float @llvm.cos.f32(float [[X]]) #[[ATTR21 :[0-9]+]]
518
518
; IS__CGSCC____-NEXT: ret float [[C]]
519
519
;
520
520
%c = call float @llvm.cos (float %x )
@@ -531,16 +531,17 @@ define float @cos_test2(float %x) {
531
531
; IS__TUNIT____: attributes #[[ATTR7]] = { nofree nounwind }
532
532
; IS__TUNIT____: attributes #[[ATTR8]] = { nofree nosync nounwind willreturn }
533
533
; IS__TUNIT____: attributes #[[ATTR9]] = { nofree nosync nounwind }
534
- ; IS__TUNIT____: attributes #[[ATTR10]] = { argmemonly nofree nosync nounwind willreturn }
534
+ ; IS__TUNIT____: attributes #[[ATTR10]] = { argmemonly nofree nounwind willreturn }
535
535
; IS__TUNIT____: attributes #[[ATTR11]] = { argmemonly nofree nosync nounwind willreturn writeonly }
536
536
; IS__TUNIT____: attributes #[[ATTR12:[0-9]+]] = { convergent readnone }
537
537
; IS__TUNIT____: attributes #[[ATTR13]] = { readnone }
538
538
; IS__TUNIT____: attributes #[[ATTR14]] = { nounwind }
539
539
; IS__TUNIT____: attributes #[[ATTR15]] = { nofree nosync nounwind readnone willreturn }
540
- ; IS__TUNIT____: attributes #[[ATTR16:[0-9]+]] = { nofree nosync nounwind readnone speculatable willreturn }
541
- ; IS__TUNIT____: attributes #[[ATTR17]] = { willreturn }
542
- ; IS__TUNIT____: attributes #[[ATTR18]] = { willreturn writeonly }
543
- ; IS__TUNIT____: attributes #[[ATTR19]] = { readnone willreturn }
540
+ ; IS__TUNIT____: attributes #[[ATTR16:[0-9]+]] = { argmemonly nofree nounwind willreturn writeonly }
541
+ ; IS__TUNIT____: attributes #[[ATTR17:[0-9]+]] = { nofree nosync nounwind readnone speculatable willreturn }
542
+ ; IS__TUNIT____: attributes #[[ATTR18]] = { willreturn }
543
+ ; IS__TUNIT____: attributes #[[ATTR19]] = { willreturn writeonly }
544
+ ; IS__TUNIT____: attributes #[[ATTR20]] = { readnone willreturn }
544
545
;.
545
546
; IS__CGSCC_OPM: attributes #[[ATTR0]] = { nofree norecurse nosync nounwind optsize readnone ssp uwtable willreturn }
546
547
; IS__CGSCC_OPM: attributes #[[ATTR1]] = { argmemonly nofree norecurse nosync nounwind uwtable willreturn }
@@ -552,17 +553,18 @@ define float @cos_test2(float %x) {
552
553
; IS__CGSCC_OPM: attributes #[[ATTR7]] = { nofree norecurse nounwind }
553
554
; IS__CGSCC_OPM: attributes #[[ATTR8]] = { nofree norecurse nosync nounwind willreturn }
554
555
; IS__CGSCC_OPM: attributes #[[ATTR9]] = { nofree norecurse nosync nounwind }
555
- ; IS__CGSCC_OPM: attributes #[[ATTR10]] = { argmemonly nofree nosync nounwind willreturn }
556
+ ; IS__CGSCC_OPM: attributes #[[ATTR10]] = { argmemonly nofree nounwind willreturn }
556
557
; IS__CGSCC_OPM: attributes #[[ATTR11]] = { argmemonly nofree nosync nounwind willreturn writeonly }
557
558
; IS__CGSCC_OPM: attributes #[[ATTR12:[0-9]+]] = { convergent readnone }
558
559
; IS__CGSCC_OPM: attributes #[[ATTR13]] = { readnone }
559
560
; IS__CGSCC_OPM: attributes #[[ATTR14]] = { nounwind }
560
561
; IS__CGSCC_OPM: attributes #[[ATTR15]] = { nofree norecurse nosync nounwind readnone willreturn }
561
562
; IS__CGSCC_OPM: attributes #[[ATTR16]] = { nofree nosync nounwind readnone willreturn }
562
- ; IS__CGSCC_OPM: attributes #[[ATTR17:[0-9]+]] = { nofree nosync nounwind readnone speculatable willreturn }
563
- ; IS__CGSCC_OPM: attributes #[[ATTR18]] = { willreturn }
564
- ; IS__CGSCC_OPM: attributes #[[ATTR19]] = { willreturn writeonly }
565
- ; IS__CGSCC_OPM: attributes #[[ATTR20]] = { readnone willreturn }
563
+ ; IS__CGSCC_OPM: attributes #[[ATTR17:[0-9]+]] = { argmemonly nofree nounwind willreturn writeonly }
564
+ ; IS__CGSCC_OPM: attributes #[[ATTR18:[0-9]+]] = { nofree nosync nounwind readnone speculatable willreturn }
565
+ ; IS__CGSCC_OPM: attributes #[[ATTR19]] = { willreturn }
566
+ ; IS__CGSCC_OPM: attributes #[[ATTR20]] = { willreturn writeonly }
567
+ ; IS__CGSCC_OPM: attributes #[[ATTR21]] = { readnone willreturn }
566
568
;.
567
569
; IS__CGSCC_NPM: attributes #[[ATTR0]] = { nofree norecurse nosync nounwind optsize readnone ssp uwtable willreturn }
568
570
; IS__CGSCC_NPM: attributes #[[ATTR1]] = { argmemonly nofree norecurse nosync nounwind uwtable willreturn }
@@ -574,15 +576,16 @@ define float @cos_test2(float %x) {
574
576
; IS__CGSCC_NPM: attributes #[[ATTR7]] = { nofree norecurse nounwind }
575
577
; IS__CGSCC_NPM: attributes #[[ATTR8]] = { nofree norecurse nosync nounwind willreturn }
576
578
; IS__CGSCC_NPM: attributes #[[ATTR9]] = { nofree norecurse nosync nounwind }
577
- ; IS__CGSCC_NPM: attributes #[[ATTR10]] = { argmemonly nofree nosync nounwind willreturn }
579
+ ; IS__CGSCC_NPM: attributes #[[ATTR10]] = { argmemonly nofree nounwind willreturn }
578
580
; IS__CGSCC_NPM: attributes #[[ATTR11]] = { argmemonly nofree nosync nounwind willreturn writeonly }
579
581
; IS__CGSCC_NPM: attributes #[[ATTR12:[0-9]+]] = { convergent readnone }
580
582
; IS__CGSCC_NPM: attributes #[[ATTR13]] = { readnone }
581
583
; IS__CGSCC_NPM: attributes #[[ATTR14]] = { nounwind }
582
584
; IS__CGSCC_NPM: attributes #[[ATTR15]] = { nofree norecurse nosync nounwind readnone willreturn }
583
585
; IS__CGSCC_NPM: attributes #[[ATTR16]] = { nofree nosync nounwind readnone willreturn }
584
- ; IS__CGSCC_NPM: attributes #[[ATTR17:[0-9]+]] = { nofree nosync nounwind readnone speculatable willreturn }
585
- ; IS__CGSCC_NPM: attributes #[[ATTR18]] = { willreturn }
586
- ; IS__CGSCC_NPM: attributes #[[ATTR19]] = { willreturn writeonly }
587
- ; IS__CGSCC_NPM: attributes #[[ATTR20]] = { readnone willreturn }
586
+ ; IS__CGSCC_NPM: attributes #[[ATTR17:[0-9]+]] = { argmemonly nofree nounwind willreturn writeonly }
587
+ ; IS__CGSCC_NPM: attributes #[[ATTR18:[0-9]+]] = { nofree nosync nounwind readnone speculatable willreturn }
588
+ ; IS__CGSCC_NPM: attributes #[[ATTR19]] = { willreturn }
589
+ ; IS__CGSCC_NPM: attributes #[[ATTR20]] = { willreturn writeonly }
590
+ ; IS__CGSCC_NPM: attributes #[[ATTR21]] = { readnone willreturn }
588
591
;.
0 commit comments