[AArch64] Add NZCV Def for TLSDESC_CALLSEQ
The glibc and older musl handlers of tlsdesc_dynamic use a cmp instruction which will clobber NZCV. See glibc's _dl_tlsdesc_dynamic: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/aarch64/dl-tlsdesc.S;hb=refs/heads/release/2.37/master See v1.1.21 Musl's __tlsdesc_dynamic: https://git.musl-libc.org/cgit/musl/tree/src/ldso/aarch64/tlsdesc.s?h=v1.1.21 Differential Revision: https://reviews.llvm.org/D143157
Loading
Please sign in to comment