[PATCH] D54761: [SelectionDAG] Improve SimplifyDemandedBits to SimplifyDemandedVectorElts simplification
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 20 09:38:15 PST 2018
RKSimon created this revision.
RKSimon added reviewers: arsenm, rampitec, craig.topper, spatel, andreadb.
Herald added subscribers: nhaehnle, wdng, jvesely.
https://reviews.llvm.org/D52935 introduced the ability for SimplifyDemandedBits to call SimplifyDemandedVectorElts through BITCASTs if the demanded bit mask entirely covered the sub element.
This patch relaxes this to demanding an element if we need any bit from it.
Repository:
rL LLVM
https://reviews.llvm.org/D54761
Files:
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/AMDGPU/idot8.ll
test/CodeGen/AMDGPU/store-weird-sizes.ll
test/CodeGen/X86/combine-sdiv.ll
test/CodeGen/X86/pr35918.ll
test/CodeGen/X86/rotate-extract-vector.ll
test/CodeGen/X86/vector-rotate-128.ll
test/CodeGen/X86/vector-shift-shl-128.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54761.174802.patch
Type: text/x-patch
Size: 44041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181120/b2ad4087/attachment.bin>
More information about the llvm-commits
mailing list