[all-commits] [llvm/llvm-project] 22c017: [AArch64][NEON] Match (or (and -a b) (and (a+1) b)...
Bradley Smith via All-commits
all-commits at lists.llvm.org
Thu Apr 15 05:53:15 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 22c017f0f902598505b57a9a7147278a7b4dad87
https://github.com/llvm/llvm-project/commit/22c017f0f902598505b57a9a7147278a7b4dad87
Author: Bradley Smith <bradley.smith at arm.com>
Date: 2021-04-15 (Thu, 15 Apr 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
A llvm/test/CodeGen/AArch64/neon-bitselect.ll
Log Message:
-----------
[AArch64][NEON] Match (or (and -a b) (and (a+1) b)) => bit select
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>
Differential Revision: https://reviews.llvm.org/D100304
More information about the All-commits
mailing list