@@ -3320,7 +3320,6 @@ define void @cmpxchg_i32_monotonic_monotonic(ptr %ptr, i32 %cmp, i32 %val) nounw
3320
3320
;
3321
3321
; RV64IA-ZACAS-LABEL: cmpxchg_i32_monotonic_monotonic:
3322
3322
; RV64IA-ZACAS: # %bb.0:
3323
- ; RV64IA-ZACAS-NEXT: sext.w a1, a1
3324
3323
; RV64IA-ZACAS-NEXT: amocas.w a1, a2, (a0)
3325
3324
; RV64IA-ZACAS-NEXT: ret
3326
3325
;
@@ -3412,7 +3411,6 @@ define void @cmpxchg_i32_acquire_monotonic(ptr %ptr, i32 %cmp, i32 %val) nounwin
3412
3411
;
3413
3412
; RV64IA-WMO-ZACAS-LABEL: cmpxchg_i32_acquire_monotonic:
3414
3413
; RV64IA-WMO-ZACAS: # %bb.0:
3415
- ; RV64IA-WMO-ZACAS-NEXT: sext.w a1, a1
3416
3414
; RV64IA-WMO-ZACAS-NEXT: amocas.w.aq a1, a2, (a0)
3417
3415
; RV64IA-WMO-ZACAS-NEXT: ret
3418
3416
;
@@ -3430,7 +3428,6 @@ define void @cmpxchg_i32_acquire_monotonic(ptr %ptr, i32 %cmp, i32 %val) nounwin
3430
3428
;
3431
3429
; RV64IA-TSO-ZACAS-LABEL: cmpxchg_i32_acquire_monotonic:
3432
3430
; RV64IA-TSO-ZACAS: # %bb.0:
3433
- ; RV64IA-TSO-ZACAS-NEXT: sext.w a1, a1
3434
3431
; RV64IA-TSO-ZACAS-NEXT: amocas.w a1, a2, (a0)
3435
3432
; RV64IA-TSO-ZACAS-NEXT: ret
3436
3433
%res = cmpxchg ptr %ptr , i32 %cmp , i32 %val acquire monotonic
@@ -3510,7 +3507,6 @@ define void @cmpxchg_i32_acquire_acquire(ptr %ptr, i32 %cmp, i32 %val) nounwind
3510
3507
;
3511
3508
; RV64IA-WMO-ZACAS-LABEL: cmpxchg_i32_acquire_acquire:
3512
3509
; RV64IA-WMO-ZACAS: # %bb.0:
3513
- ; RV64IA-WMO-ZACAS-NEXT: sext.w a1, a1
3514
3510
; RV64IA-WMO-ZACAS-NEXT: amocas.w.aq a1, a2, (a0)
3515
3511
; RV64IA-WMO-ZACAS-NEXT: ret
3516
3512
;
@@ -3528,7 +3524,6 @@ define void @cmpxchg_i32_acquire_acquire(ptr %ptr, i32 %cmp, i32 %val) nounwind
3528
3524
;
3529
3525
; RV64IA-TSO-ZACAS-LABEL: cmpxchg_i32_acquire_acquire:
3530
3526
; RV64IA-TSO-ZACAS: # %bb.0:
3531
- ; RV64IA-TSO-ZACAS-NEXT: sext.w a1, a1
3532
3527
; RV64IA-TSO-ZACAS-NEXT: amocas.w a1, a2, (a0)
3533
3528
; RV64IA-TSO-ZACAS-NEXT: ret
3534
3529
%res = cmpxchg ptr %ptr , i32 %cmp , i32 %val acquire acquire
@@ -3608,7 +3603,6 @@ define void @cmpxchg_i32_release_monotonic(ptr %ptr, i32 %cmp, i32 %val) nounwin
3608
3603
;
3609
3604
; RV64IA-WMO-ZACAS-LABEL: cmpxchg_i32_release_monotonic:
3610
3605
; RV64IA-WMO-ZACAS: # %bb.0:
3611
- ; RV64IA-WMO-ZACAS-NEXT: sext.w a1, a1
3612
3606
; RV64IA-WMO-ZACAS-NEXT: amocas.w.rl a1, a2, (a0)
3613
3607
; RV64IA-WMO-ZACAS-NEXT: ret
3614
3608
;
@@ -3626,7 +3620,6 @@ define void @cmpxchg_i32_release_monotonic(ptr %ptr, i32 %cmp, i32 %val) nounwin
3626
3620
;
3627
3621
; RV64IA-TSO-ZACAS-LABEL: cmpxchg_i32_release_monotonic:
3628
3622
; RV64IA-TSO-ZACAS: # %bb.0:
3629
- ; RV64IA-TSO-ZACAS-NEXT: sext.w a1, a1
3630
3623
; RV64IA-TSO-ZACAS-NEXT: amocas.w a1, a2, (a0)
3631
3624
; RV64IA-TSO-ZACAS-NEXT: ret
3632
3625
%res = cmpxchg ptr %ptr , i32 %cmp , i32 %val release monotonic
@@ -3706,7 +3699,6 @@ define void @cmpxchg_i32_release_acquire(ptr %ptr, i32 %cmp, i32 %val) nounwind
3706
3699
;
3707
3700
; RV64IA-WMO-ZACAS-LABEL: cmpxchg_i32_release_acquire:
3708
3701
; RV64IA-WMO-ZACAS: # %bb.0:
3709
- ; RV64IA-WMO-ZACAS-NEXT: sext.w a1, a1
3710
3702
; RV64IA-WMO-ZACAS-NEXT: amocas.w.aqrl a1, a2, (a0)
3711
3703
; RV64IA-WMO-ZACAS-NEXT: ret
3712
3704
;
@@ -3724,7 +3716,6 @@ define void @cmpxchg_i32_release_acquire(ptr %ptr, i32 %cmp, i32 %val) nounwind
3724
3716
;
3725
3717
; RV64IA-TSO-ZACAS-LABEL: cmpxchg_i32_release_acquire:
3726
3718
; RV64IA-TSO-ZACAS: # %bb.0:
3727
- ; RV64IA-TSO-ZACAS-NEXT: sext.w a1, a1
3728
3719
; RV64IA-TSO-ZACAS-NEXT: amocas.w a1, a2, (a0)
3729
3720
; RV64IA-TSO-ZACAS-NEXT: ret
3730
3721
%res = cmpxchg ptr %ptr , i32 %cmp , i32 %val release acquire
@@ -3804,7 +3795,6 @@ define void @cmpxchg_i32_acq_rel_monotonic(ptr %ptr, i32 %cmp, i32 %val) nounwin
3804
3795
;
3805
3796
; RV64IA-WMO-ZACAS-LABEL: cmpxchg_i32_acq_rel_monotonic:
3806
3797
; RV64IA-WMO-ZACAS: # %bb.0:
3807
- ; RV64IA-WMO-ZACAS-NEXT: sext.w a1, a1
3808
3798
; RV64IA-WMO-ZACAS-NEXT: amocas.w.aqrl a1, a2, (a0)
3809
3799
; RV64IA-WMO-ZACAS-NEXT: ret
3810
3800
;
@@ -3822,7 +3812,6 @@ define void @cmpxchg_i32_acq_rel_monotonic(ptr %ptr, i32 %cmp, i32 %val) nounwin
3822
3812
;
3823
3813
; RV64IA-TSO-ZACAS-LABEL: cmpxchg_i32_acq_rel_monotonic:
3824
3814
; RV64IA-TSO-ZACAS: # %bb.0:
3825
- ; RV64IA-TSO-ZACAS-NEXT: sext.w a1, a1
3826
3815
; RV64IA-TSO-ZACAS-NEXT: amocas.w a1, a2, (a0)
3827
3816
; RV64IA-TSO-ZACAS-NEXT: ret
3828
3817
%res = cmpxchg ptr %ptr , i32 %cmp , i32 %val acq_rel monotonic
@@ -3902,7 +3891,6 @@ define void @cmpxchg_i32_acq_rel_acquire(ptr %ptr, i32 %cmp, i32 %val) nounwind
3902
3891
;
3903
3892
; RV64IA-WMO-ZACAS-LABEL: cmpxchg_i32_acq_rel_acquire:
3904
3893
; RV64IA-WMO-ZACAS: # %bb.0:
3905
- ; RV64IA-WMO-ZACAS-NEXT: sext.w a1, a1
3906
3894
; RV64IA-WMO-ZACAS-NEXT: amocas.w.aqrl a1, a2, (a0)
3907
3895
; RV64IA-WMO-ZACAS-NEXT: ret
3908
3896
;
@@ -3920,7 +3908,6 @@ define void @cmpxchg_i32_acq_rel_acquire(ptr %ptr, i32 %cmp, i32 %val) nounwind
3920
3908
;
3921
3909
; RV64IA-TSO-ZACAS-LABEL: cmpxchg_i32_acq_rel_acquire:
3922
3910
; RV64IA-TSO-ZACAS: # %bb.0:
3923
- ; RV64IA-TSO-ZACAS-NEXT: sext.w a1, a1
3924
3911
; RV64IA-TSO-ZACAS-NEXT: amocas.w a1, a2, (a0)
3925
3912
; RV64IA-TSO-ZACAS-NEXT: ret
3926
3913
%res = cmpxchg ptr %ptr , i32 %cmp , i32 %val acq_rel acquire
@@ -4000,7 +3987,6 @@ define void @cmpxchg_i32_seq_cst_monotonic(ptr %ptr, i32 %cmp, i32 %val) nounwin
4000
3987
;
4001
3988
; RV64IA-WMO-ZACAS-LABEL: cmpxchg_i32_seq_cst_monotonic:
4002
3989
; RV64IA-WMO-ZACAS: # %bb.0:
4003
- ; RV64IA-WMO-ZACAS-NEXT: sext.w a1, a1
4004
3990
; RV64IA-WMO-ZACAS-NEXT: amocas.w.aqrl a1, a2, (a0)
4005
3991
; RV64IA-WMO-ZACAS-NEXT: ret
4006
3992
;
@@ -4018,7 +4004,6 @@ define void @cmpxchg_i32_seq_cst_monotonic(ptr %ptr, i32 %cmp, i32 %val) nounwin
4018
4004
;
4019
4005
; RV64IA-TSO-ZACAS-LABEL: cmpxchg_i32_seq_cst_monotonic:
4020
4006
; RV64IA-TSO-ZACAS: # %bb.0:
4021
- ; RV64IA-TSO-ZACAS-NEXT: sext.w a1, a1
4022
4007
; RV64IA-TSO-ZACAS-NEXT: amocas.w a1, a2, (a0)
4023
4008
; RV64IA-TSO-ZACAS-NEXT: ret
4024
4009
%res = cmpxchg ptr %ptr , i32 %cmp , i32 %val seq_cst monotonic
@@ -4098,7 +4083,6 @@ define void @cmpxchg_i32_seq_cst_acquire(ptr %ptr, i32 %cmp, i32 %val) nounwind
4098
4083
;
4099
4084
; RV64IA-WMO-ZACAS-LABEL: cmpxchg_i32_seq_cst_acquire:
4100
4085
; RV64IA-WMO-ZACAS: # %bb.0:
4101
- ; RV64IA-WMO-ZACAS-NEXT: sext.w a1, a1
4102
4086
; RV64IA-WMO-ZACAS-NEXT: amocas.w.aqrl a1, a2, (a0)
4103
4087
; RV64IA-WMO-ZACAS-NEXT: ret
4104
4088
;
@@ -4116,7 +4100,6 @@ define void @cmpxchg_i32_seq_cst_acquire(ptr %ptr, i32 %cmp, i32 %val) nounwind
4116
4100
;
4117
4101
; RV64IA-TSO-ZACAS-LABEL: cmpxchg_i32_seq_cst_acquire:
4118
4102
; RV64IA-TSO-ZACAS: # %bb.0:
4119
- ; RV64IA-TSO-ZACAS-NEXT: sext.w a1, a1
4120
4103
; RV64IA-TSO-ZACAS-NEXT: amocas.w a1, a2, (a0)
4121
4104
; RV64IA-TSO-ZACAS-NEXT: ret
4122
4105
%res = cmpxchg ptr %ptr , i32 %cmp , i32 %val seq_cst acquire
@@ -4196,7 +4179,6 @@ define void @cmpxchg_i32_seq_cst_seq_cst(ptr %ptr, i32 %cmp, i32 %val) nounwind
4196
4179
;
4197
4180
; RV64IA-WMO-ZACAS-LABEL: cmpxchg_i32_seq_cst_seq_cst:
4198
4181
; RV64IA-WMO-ZACAS: # %bb.0:
4199
- ; RV64IA-WMO-ZACAS-NEXT: sext.w a1, a1
4200
4182
; RV64IA-WMO-ZACAS-NEXT: amocas.w.aqrl a1, a2, (a0)
4201
4183
; RV64IA-WMO-ZACAS-NEXT: ret
4202
4184
;
@@ -4214,7 +4196,6 @@ define void @cmpxchg_i32_seq_cst_seq_cst(ptr %ptr, i32 %cmp, i32 %val) nounwind
4214
4196
;
4215
4197
; RV64IA-TSO-ZACAS-LABEL: cmpxchg_i32_seq_cst_seq_cst:
4216
4198
; RV64IA-TSO-ZACAS: # %bb.0:
4217
- ; RV64IA-TSO-ZACAS-NEXT: sext.w a1, a1
4218
4199
; RV64IA-TSO-ZACAS-NEXT: amocas.w a1, a2, (a0)
4219
4200
; RV64IA-TSO-ZACAS-NEXT: ret
4220
4201
%res = cmpxchg ptr %ptr , i32 %cmp , i32 %val seq_cst seq_cst
0 commit comments