[PATCH] D51553: [DAGCombiner][x86] add transform/hook to load a scalar directly for use in a vector binop

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 09:57:13 PDT 2020


spatel updated this revision to Diff 269880.
spatel added a comment.

Rebased to apply cleanly to current master, but the test diffs remain unchanged. We are still creating vector ops that are too wide.

This seems easier to implement in vector-combine now that we have it. We will need to make sure that we are not fighting the recently added scalarization transforms.


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

https://reviews.llvm.org/D51553

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.h
  llvm/test/CodeGen/X86/load-scalar-as-vector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51553.269880.patch
Type: text/x-patch
Size: 21076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200610/51496582/attachment.bin>


More information about the llvm-commits mailing list