[PATCH] D143157: [AArch64] Add NZCV Def for TLSDESC_CALLSEQ
Mirko Müller via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 3 01:16:07 PST 2023
MuellerMP added a comment.
In my research for this case i stumbled over the glibc arm implementation and a TLSDESC RFC targeted towards arm.
They provide information as to why flags is assumed to be clobbered in this case.
References:
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/arm/dl-tlsdesc.S;hb=refs/heads/release/2.37/master#l85
https://www.fsfla.org/~lxoliva/writeups/TLS/RFC-TLSDESC-ARM.txt
I'm not too sure though if a MIR test for the "implicit-def dead $nzcv" might be a better unit test.
Right now my test seems much more like a integration type of test which asserts the implications of the def.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143157/new/
https://reviews.llvm.org/D143157
More information about the llvm-commits
mailing list