[PATCH] D127294: [AARCH64 folding] Do not fold any copy with NZCV

Danila Malyutin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 00:05:23 PDT 2022


danilaml accepted this revision.
danilaml added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:4405
     }
+    // Nothing can folded with copy from/to NZCV.
+    if (SrcReg == AArch64::NZCV || DstReg == AArch64::NZCV)
----------------



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127294/new/

https://reviews.llvm.org/D127294



More information about the llvm-commits mailing list