[PATCH] D59188: [DAGCombine] Fold insert_subvector(bitcast(x),bitcast(y)) -> bitcast(insert_subvector(x,y))

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 2 04:16:04 PDT 2019


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

Check for (NumElts % Scale == 0) as well

Sorry for taking so long with this @nikic !


Repository:
  rL LLVM

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

https://reviews.llvm.org/D59188

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/Target/X86/X86ISelLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59188.202592.patch
Type: text/x-patch
Size: 9001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190602/b4e287f1/attachment.bin>


More information about the llvm-commits mailing list