@@ -350,7 +350,7 @@ define void @atomic_store_i8_unordered(i8 *%a, i8 %b) nounwind {
350
350
;
351
351
; RV32IA-LABEL: atomic_store_i8_unordered:
352
352
; RV32IA: # %bb.0:
353
- ; RV32IA-NEXT: sb a0 , 0(a1 )
353
+ ; RV32IA-NEXT: sb a1 , 0(a0 )
354
354
; RV32IA-NEXT: ret
355
355
store atomic i8 %b , i8* %a unordered , align 1
356
356
ret void
@@ -369,7 +369,7 @@ define void @atomic_store_i8_monotonic(i8 *%a, i8 %b) nounwind {
369
369
;
370
370
; RV32IA-LABEL: atomic_store_i8_monotonic:
371
371
; RV32IA: # %bb.0:
372
- ; RV32IA-NEXT: sb a0 , 0(a1 )
372
+ ; RV32IA-NEXT: sb a1 , 0(a0 )
373
373
; RV32IA-NEXT: ret
374
374
store atomic i8 %b , i8* %a monotonic , align 1
375
375
ret void
@@ -389,7 +389,7 @@ define void @atomic_store_i8_release(i8 *%a, i8 %b) nounwind {
389
389
; RV32IA-LABEL: atomic_store_i8_release:
390
390
; RV32IA: # %bb.0:
391
391
; RV32IA-NEXT: fence rw, w
392
- ; RV32IA-NEXT: sb a0 , 0(a1 )
392
+ ; RV32IA-NEXT: sb a1 , 0(a0 )
393
393
; RV32IA-NEXT: ret
394
394
store atomic i8 %b , i8* %a release , align 1
395
395
ret void
@@ -409,7 +409,7 @@ define void @atomic_store_i8_seq_cst(i8 *%a, i8 %b) nounwind {
409
409
; RV32IA-LABEL: atomic_store_i8_seq_cst:
410
410
; RV32IA: # %bb.0:
411
411
; RV32IA-NEXT: fence rw, w
412
- ; RV32IA-NEXT: sb a0 , 0(a1 )
412
+ ; RV32IA-NEXT: sb a1 , 0(a0 )
413
413
; RV32IA-NEXT: ret
414
414
store atomic i8 %b , i8* %a seq_cst , align 1
415
415
ret void
@@ -428,7 +428,7 @@ define void @atomic_store_i16_unordered(i16 *%a, i16 %b) nounwind {
428
428
;
429
429
; RV32IA-LABEL: atomic_store_i16_unordered:
430
430
; RV32IA: # %bb.0:
431
- ; RV32IA-NEXT: sh a0 , 0(a1 )
431
+ ; RV32IA-NEXT: sh a1 , 0(a0 )
432
432
; RV32IA-NEXT: ret
433
433
store atomic i16 %b , i16* %a unordered , align 2
434
434
ret void
@@ -447,7 +447,7 @@ define void @atomic_store_i16_monotonic(i16 *%a, i16 %b) nounwind {
447
447
;
448
448
; RV32IA-LABEL: atomic_store_i16_monotonic:
449
449
; RV32IA: # %bb.0:
450
- ; RV32IA-NEXT: sh a0 , 0(a1 )
450
+ ; RV32IA-NEXT: sh a1 , 0(a0 )
451
451
; RV32IA-NEXT: ret
452
452
store atomic i16 %b , i16* %a monotonic , align 2
453
453
ret void
@@ -467,7 +467,7 @@ define void @atomic_store_i16_release(i16 *%a, i16 %b) nounwind {
467
467
; RV32IA-LABEL: atomic_store_i16_release:
468
468
; RV32IA: # %bb.0:
469
469
; RV32IA-NEXT: fence rw, w
470
- ; RV32IA-NEXT: sh a0 , 0(a1 )
470
+ ; RV32IA-NEXT: sh a1 , 0(a0 )
471
471
; RV32IA-NEXT: ret
472
472
store atomic i16 %b , i16* %a release , align 2
473
473
ret void
@@ -487,7 +487,7 @@ define void @atomic_store_i16_seq_cst(i16 *%a, i16 %b) nounwind {
487
487
; RV32IA-LABEL: atomic_store_i16_seq_cst:
488
488
; RV32IA: # %bb.0:
489
489
; RV32IA-NEXT: fence rw, w
490
- ; RV32IA-NEXT: sh a0 , 0(a1 )
490
+ ; RV32IA-NEXT: sh a1 , 0(a0 )
491
491
; RV32IA-NEXT: ret
492
492
store atomic i16 %b , i16* %a seq_cst , align 2
493
493
ret void
@@ -506,7 +506,7 @@ define void @atomic_store_i32_unordered(i32 *%a, i32 %b) nounwind {
506
506
;
507
507
; RV32IA-LABEL: atomic_store_i32_unordered:
508
508
; RV32IA: # %bb.0:
509
- ; RV32IA-NEXT: sw a0 , 0(a1 )
509
+ ; RV32IA-NEXT: sw a1 , 0(a0 )
510
510
; RV32IA-NEXT: ret
511
511
store atomic i32 %b , i32* %a unordered , align 4
512
512
ret void
@@ -525,7 +525,7 @@ define void @atomic_store_i32_monotonic(i32 *%a, i32 %b) nounwind {
525
525
;
526
526
; RV32IA-LABEL: atomic_store_i32_monotonic:
527
527
; RV32IA: # %bb.0:
528
- ; RV32IA-NEXT: sw a0 , 0(a1 )
528
+ ; RV32IA-NEXT: sw a1 , 0(a0 )
529
529
; RV32IA-NEXT: ret
530
530
store atomic i32 %b , i32* %a monotonic , align 4
531
531
ret void
@@ -545,7 +545,7 @@ define void @atomic_store_i32_release(i32 *%a, i32 %b) nounwind {
545
545
; RV32IA-LABEL: atomic_store_i32_release:
546
546
; RV32IA: # %bb.0:
547
547
; RV32IA-NEXT: fence rw, w
548
- ; RV32IA-NEXT: sw a0 , 0(a1 )
548
+ ; RV32IA-NEXT: sw a1 , 0(a0 )
549
549
; RV32IA-NEXT: ret
550
550
store atomic i32 %b , i32* %a release , align 4
551
551
ret void
@@ -565,7 +565,7 @@ define void @atomic_store_i32_seq_cst(i32 *%a, i32 %b) nounwind {
565
565
; RV32IA-LABEL: atomic_store_i32_seq_cst:
566
566
; RV32IA: # %bb.0:
567
567
; RV32IA-NEXT: fence rw, w
568
- ; RV32IA-NEXT: sw a0 , 0(a1 )
568
+ ; RV32IA-NEXT: sw a1 , 0(a0 )
569
569
; RV32IA-NEXT: ret
570
570
store atomic i32 %b , i32* %a seq_cst , align 4
571
571
ret void
0 commit comments