[PATCH] D100304: [AArch64][NEON] Match (or (and -a b) (and (a+1) b)) => bit select

Bradley Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 12 07:00:53 PDT 2021


bsmith created this revision.
bsmith added reviewers: joechrisellis, peterwaller-arm, paulwalker-arm, david-arm.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
bsmith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

With this patch vbslq_f32(vnegq_s32(a), b, c) lowers to a BIT instruction.

Co-authored-by: Paul Walker <paul.walker at arm.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100304

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/neon-bitselect.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100304.336824.patch
Type: text/x-patch
Size: 11445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210412/0c7aa611/attachment.bin>


More information about the llvm-commits mailing list