[PATCH] D137721: [AArch64] Optimize more memcmp when the result is tested for [in]equality with 0

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 19:23:13 PST 2022


Allen updated this revision to Diff 474914.
Allen added a comment.

Delete the one-use of leaf node XOR and add  a limitation of xor nodes


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

https://reviews.llvm.org/D137721

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/bcmp-inline-small.ll
  llvm/test/CodeGen/AArch64/bcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137721.474914.patch
Type: text/x-patch
Size: 12345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221112/72de6682/attachment.bin>


More information about the llvm-commits mailing list