[PATCH] D131503: [DAGCombine] Combine signext_inreg of extract-extend

Peter Waller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 11 05:40:43 PDT 2022


peterwaller-arm updated this revision to Diff 451821.
peterwaller-arm marked 3 inline comments as done.
peterwaller-arm added a comment.

Ihanks @RKSimon. The tests are unaffected. I've opted to follow your suggestion.

- Add legality check.
- Also add legality check for analagous zero-extending case in visitAND cc @david-arm.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131503

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AArch64/extract-subvec-combine.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-masked-gather.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-masked-loads.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-masked-scatter.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-masked-stores.ll
  llvm/test/CodeGen/AArch64/vector-fcvt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131503.451821.patch
Type: text/x-patch
Size: 8380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220811/50f66585/attachment.bin>


More information about the llvm-commits mailing list