With this patch vbslq_f32(vnegq_s32(a), b, c) lowers to a BIT instruction.
Co-authored-by: Paul Walker <paul.walker@arm.com>
Paths
| Differential D100304
[AArch64][NEON] Match (or (and -a b) (and (a+1) b)) => bit select ClosedPublic Authored by bsmith on Apr 12 2021, 7:00 AM.
Details Summary With this patch vbslq_f32(vnegq_s32(a), b, c) lowers to a BIT instruction. Co-authored-by: Paul Walker <paul.walker@arm.com>
Diff Detail
Event TimelineHerald added subscribers: danielkiss, hiraditya, kristof.beyls. · View Herald TranscriptApr 12 2021, 7:00 AM
Comment Actions I would have gone the other way, making the mtriple and mattr both command line args. LGTM either way though. This revision is now accepted and ready to land.Apr 14 2021, 5:20 AM This revision was landed with ongoing or failed builds.Apr 15 2021, 5:53 AM Closed by commit rG22c017f0f902: [AArch64][NEON] Match (or (and -a b) (and (a+1) b)) => bit select (authored by bsmith). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 336824 llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/neon-bitselect.ll
|
What do the N= and O= signify?