[PATCH] D118459: [ISEL] Canonicalize STEP_VECTOR to LHS if RHS is a splat.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 31 07:00:36 PST 2022


sdesmalen updated this revision to Diff 404507.
sdesmalen added a comment.

Moved some of the logic to a separate function (trySwapOpsCommutativeBinop).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118459/new/

https://reviews.llvm.org/D118459

Files:
  llvm/include/llvm/CodeGen/SelectionDAG.h
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/AArch64/active_lane_mask.ll
  llvm/test/CodeGen/AArch64/sve-stepvector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118459.404507.patch
Type: text/x-patch
Size: 10705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220131/c0638192/attachment.bin>


More information about the llvm-commits mailing list