diff options
author | Sam Parker <sam.parker@arm.com> | 2018-01-02 10:19:01 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2018-01-02 10:19:01 +0000 |
commit | 3570c554b5a69618480b74aadc1da069fce83fc6 (patch) | |
tree | 0df511557c8baf3bf91f66d262d114195b8c2630 /llvm/lib/CodeGen/SelectionDAG | |
parent | 2dea5e0f3cad11a4b4a2e973fdc846bacd7f2ed1 (diff) | |
download | bcm5719-llvm-3570c554b5a69618480b74aadc1da069fce83fc6.tar.gz bcm5719-llvm-3570c554b5a69618480b74aadc1da069fce83fc6.zip |
[DAGCombine] Fix for PR35765
Remove the acceptance of ANY_EXTEND nodes while trying to move and
nodes back to loads.
Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=35765
Differential Revision: https://reviews.llvm.org/D41625
llvm-svn: 321641
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 3218dce8f57..5843f86a842 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -3850,7 +3850,6 @@ bool DAGCombiner::SearchForAndLoads(SDNode *N, return false; } case ISD::ZERO_EXTEND: - case ISD::ANY_EXTEND: case ISD::AssertZext: { unsigned ActiveBits = Mask->getAPIntValue().countTrailingOnes(); EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); |