[PATCH] D118663: [AArch64] Adds SUBS and ADDS instructions to the MIPeepholeOpt.

Micah Weston via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 10 14:48:13 PST 2022


red1bluelost updated this revision to Diff 407691.
red1bluelost marked an inline comment as done.
red1bluelost added a comment.

Uses `examineCFlagsUse` to check NZCV usages.

I was able to use the helper function but I had to slightly modify it to make
it general to any use of NZCV.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118663

Files:
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.h
  llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp
  llvm/test/CodeGen/AArch64/addsub.ll
  llvm/test/CodeGen/AArch64/arm64-instruction-mix-remarks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118663.407691.patch
Type: text/x-patch
Size: 20965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220210/3cda8872/attachment.bin>


More information about the llvm-commits mailing list