This patch add a new target ISD AArch64ISD::SEON to represent scalar version instruction eon.
And select the ISD in the stage combine from this pattern:
((X & Z) ^ Y) ^ Z --> eon Y, (X | ~Z)
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D139610
[AArch64][DAGCombiner] fold instruction EON from ISD::XOR AbandonedPublic Authored by bcl5980 on Dec 8 2022, 12:55 AM.
Details
Diff Detail Event Timelinebcl5980 added a parent revision: D139609: [AArch64][DAGCombiner] fold instruction BIC from ISD::AND.Dec 8 2022, 12:55 AM
Revision Contents
Diff 481534 llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/logical-op-with-not.ll
|