[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
Fri Sep 21 11:11:50 PDT 2018
spatel updated this revision to Diff 166519.
spatel marked an inline comment as done.
spatel added a comment.
Patch updated:
Disallow the transform on x86 if we're optimizing for size. Test added at https://reviews.llvm.org/rL342755.
https://reviews.llvm.org/D51553
Files:
include/llvm/CodeGen/TargetLowering.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
test/CodeGen/X86/load-scalar-as-vector.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51553.166519.patch
Type: text/x-patch
Size: 11068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180921/a1cb42fb/attachment.bin>
More information about the llvm-commits
mailing list