[PATCH] D136771: [AArch64] Canonicalize SIGN_EXTEND to VSELECT

Nicola Lancellotti via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 09:10:57 PDT 2022


NicolaLancellotti created this revision.
Herald added subscribers: ecnelises, hiraditya, kristof.beyls.
Herald added a project: All.
NicolaLancellotti requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is patch canonicalizes SIGN_EXTEND to VSELECT to allow sext to transform into a predicated instruction like add, sub or mul.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136771

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/predicated-add-sub-mul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136771.470829.patch
Type: text/x-patch
Size: 18192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221026/45c20144/attachment.bin>


More information about the llvm-commits mailing list