This adds an extra tablegen PatFrag, zanyext, which matches either any extend or zext and uses that in the aarch64 backend to handle any extends in addw/addl/subw/subl patterns.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D93833
[AArch64] Handle any extend whilst lowering addw/addl/subw/subl ClosedPublic Authored by dmgreen on Dec 27 2020, 5:24 AM.
Details Summary This adds an extra tablegen PatFrag, zanyext, which matches either any extend or zext and uses that in the aarch64 backend to handle any extends in addw/addl/subw/subl patterns.
Diff Detail Event TimelineHerald added subscribers: danielkiss, hiraditya, kristof.beyls. · View Herald TranscriptDec 27 2020, 5:24 AM This revision is now accepted and ready to land.Dec 31 2020, 3:16 AM Closed by commit rGa9b6440eddde: [AArch64] Handle any extend whilst lowering addw/addl/subw/subl (authored by dmgreen). · Explain WhyJan 6 2021, 2:35 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 313778 llvm/include/llvm/Target/TargetSelectionDAG.td
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/arm64-neon-3vdiff.ll
llvm/test/CodeGen/AArch64/lowerMUL-newload.ll
|