[PATCH] D52550: [ARM] Check for sel intrinsic use in ARM CGP

John Brawn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 5 08:20:14 PST 2018


john.brawn added a comment.

Because the ABI says that the GE bits are undefined on entry / return from public interfaces (i.e. non-static functions) I think that it is possible to just look at the current translation unit and make a decision based on that. I'm not sure if just looking at whether the sel intrinsic is used will work though - the GE bits could be read by __arm_rsr("APSR"), or by inline assembly, and maybe there are other situations that I haven't thought of.


https://reviews.llvm.org/D52550





More information about the llvm-commits mailing list