[PATCH] D96345: [DAG] Fold shuffle(bop(shuffle(x,y),shuffle(z,w)),bop(shuffle(a,b),shuffle(c,d)))

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 15 07:49:01 PST 2021


RKSimon updated this revision to Diff 323755.
RKSimon added a comment.

Reuse existing getOperand() variables.

Explicitly check that the binop source operands are the same type as the shuffle results.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96345

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/bitcast-and-setcc-256.ll
  llvm/test/CodeGen/X86/promote-cmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96345.323755.patch
Type: text/x-patch
Size: 13689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210215/1c13cb07/attachment.bin>


More information about the llvm-commits mailing list