[PATCH] D42631: [DAGCombiner] Add one use check before calling SimplifyDemandedBits on the value in visitStore.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 28 21:26:21 PST 2018
craig.topper created this revision.
Herald added a subscriber: javed.absar.
The SimplifyDemandedBits entry point used by DAGCombiner forces the AssumeSingleUse flag to be set to true preventing SimplifyDemandedBits from protecting this itself. Every other caller from DAGCombine pass the node being visited due to SimplifyDemandedBits so this isn't a problem for them.
Repository:
rL LLVM
https://reviews.llvm.org/D42631
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/ARM/illegal-bitfield-loadstore.ll
test/CodeGen/X86/norex-subreg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42631.131744.patch
Type: text/x-patch
Size: 5950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180129/e16fe90d/attachment.bin>
More information about the llvm-commits
mailing list