@@ -582,14 +582,10 @@ body: |
582
582
583
583
; GCN-LABEL: name: test_remat_s_getpc_b64
584
584
; GCN: renamable $sgpr0_sgpr1 = S_GETPC_B64
585
- ; GCN-NEXT: SI_SPILL_S64_SAVE killed renamable $sgpr0_sgpr1, %stack.1, implicit $exec, implicit $sp_reg :: (store (s64) into %stack.1, align 4, addrspace 5)
586
585
; GCN-NEXT: renamable $sgpr2_sgpr3 = S_GETPC_B64
587
- ; GCN-NEXT: renamable $sgpr0_sgpr1 = S_GETPC_B64
588
- ; GCN-NEXT: SI_SPILL_S64_SAVE killed renamable $sgpr0_sgpr1, %stack.0, implicit $exec, implicit $sp_reg :: (store (s64) into %stack.0, align 4, addrspace 5)
589
- ; GCN-NEXT: renamable $sgpr0_sgpr1 = SI_SPILL_S64_RESTORE %stack.1, implicit $exec, implicit $sp_reg :: (load (s64) from %stack.1, align 4, addrspace 5)
590
586
; GCN-NEXT: S_NOP 0, implicit killed renamable $sgpr0_sgpr1
591
587
; GCN-NEXT: S_NOP 0, implicit killed renamable $sgpr2_sgpr3
592
- ; GCN-NEXT: renamable $sgpr0_sgpr1 = SI_SPILL_S64_RESTORE %stack.0, implicit $exec, implicit $sp_reg :: (load (s64) from %stack.0, align 4, addrspace 5)
588
+ ; GCN-NEXT: renamable $sgpr0_sgpr1 = S_GETPC_B64
593
589
; GCN-NEXT: S_NOP 0, implicit killed renamable $sgpr0_sgpr1
594
590
; GCN-NEXT: S_ENDPGM 0
595
591
%0:sgpr_64 = S_GETPC_B64
@@ -610,17 +606,13 @@ body: |
610
606
; GCN-LABEL: name: test_remat_s_getpc_b64_2
611
607
; GCN: renamable $sgpr0_sgpr1 = S_GETPC_B64
612
608
; GCN-NEXT: renamable $sgpr2_sgpr3 = S_GETPC_B64
613
- ; GCN-NEXT: SI_SPILL_S64_SAVE killed renamable $sgpr2_sgpr3, %stack.7, implicit $exec, implicit $sp_reg :: (store (s64) into %stack.7, align 4, addrspace 5)
614
- ; GCN-NEXT: renamable $sgpr2_sgpr3 = S_GETPC_B64
615
- ; GCN-NEXT: SI_SPILL_S64_SAVE killed renamable $sgpr2_sgpr3, %stack.6, implicit $exec, implicit $sp_reg :: (store (s64) into %stack.6, align 4, addrspace 5)
616
609
; GCN-NEXT: SI_SPILL_S32_SAVE killed renamable $sgpr0, %stack.3, implicit $exec, implicit $sp_reg :: (store (s32) into %stack.3, addrspace 5)
617
610
; GCN-NEXT: SI_SPILL_S32_SAVE killed renamable $sgpr1, %stack.0, implicit $exec, implicit $sp_reg :: (store (s32) into %stack.0, addrspace 5)
618
- ; GCN-NEXT: renamable $sgpr2_sgpr3 = SI_SPILL_S64_RESTORE %stack.7, implicit $exec, implicit $sp_reg :: (load (s64) from %stack.7, align 4, addrspace 5)
619
611
; GCN-NEXT: renamable $sgpr1 = COPY renamable $sgpr2
620
612
; GCN-NEXT: SI_SPILL_S32_SAVE killed renamable $sgpr1, %stack.1, implicit $exec, implicit $sp_reg :: (store (s32) into %stack.1, addrspace 5)
621
613
; GCN-NEXT: renamable $sgpr1 = COPY killed renamable $sgpr3
622
614
; GCN-NEXT: SI_SPILL_S32_SAVE killed renamable $sgpr1, %stack.2, implicit $exec, implicit $sp_reg :: (store (s32) into %stack.2, addrspace 5)
623
- ; GCN-NEXT: renamable $sgpr0_sgpr1 = SI_SPILL_S64_RESTORE %stack.6, implicit $exec, implicit $sp_reg :: (load (s64) from %stack.6, align 4, addrspace 5)
615
+ ; GCN-NEXT: renamable $sgpr0_sgpr1 = S_GETPC_B64
624
616
; GCN-NEXT: SI_SPILL_S32_SAVE killed renamable $sgpr0, %stack.5, implicit $exec, implicit $sp_reg :: (store (s32) into %stack.5, addrspace 5)
625
617
; GCN-NEXT: renamable $sgpr0 = COPY killed renamable $sgpr1
626
618
; GCN-NEXT: SI_SPILL_S32_SAVE killed renamable $sgpr0, %stack.4, implicit $exec, implicit $sp_reg :: (store (s32) into %stack.4, addrspace 5)
0 commit comments