[PATCH] D117757: [AArch64] Modeling NZCV read/write for MOPS instructions
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 20 08:17:21 PST 2022
dmgreen added a comment.
Usually it would be good to have a test for these kinds of changes, but these instructions are never used anywhere (we will use the pseudos for codegen), and I'm not sure of a way to test it otherwise.
For these instructions, marking them as Def NZCV will show that they clobber nzcv which is good. As far as I understand the "P" instruction Defs' and the other ("M", "E") will read the value. Is it worth trying to specify that more precisely? It might not alter a lot atm, but may be good to make sure the info is correct.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117757/new/
https://reviews.llvm.org/D117757
More information about the llvm-commits
mailing list