Mark return value as define instead of clobber for TLS pseudoinstructions (#4357)

This commit is contained in:
bjorn3
2022-06-30 19:44:51 +02:00
committed by GitHub
parent b4830ef1e7
commit d1446f767d
5 changed files with 15 additions and 13 deletions

View File

@@ -19,7 +19,7 @@ block0(v0: i32):
; stp d8, d9, [sp, #-16]!
; block0:
; mov x25, x0
; elf_tls_get_addr u1:0
; x0 = elf_tls_get_addr u1:0
; mov x1, x0
; mov x0, x25
; ldp d8, d9, [sp], #16

View File

@@ -13,7 +13,7 @@ block0(v0: i32):
; pushq %rbp
; movq %rsp, %rbp
; block0:
; elf_tls_get_addr User { namespace: 1, index: 0 }
; %rax = elf_tls_get_addr User { namespace: 1, index: 0 }
; movq %rbp, %rsp
; popq %rbp
; ret