llvm-6502/lib/CodeGen/SelectionDAG
Andrea Di Biagio 3cab648f22 [DAGCombiner] Fix a wrong check in method SimplifyVBinOp.
This fixes a regression intruced by r199135.

Revision 199135 tried to simplify part of the logic in method
DAGCombiner::SimplifyVBinOp introducing calls to method BuildVectorSDNode::isConstant().

However, that revision wrongly changed the check performed by method
SimplifyVBinOp to identify dag nodes that can be folded.
Before revision 199135, that method only tried to simplify vector binary operations
if both operands were build_vector of Constant/ConstantFP/Undef only.

After revision 199135, method SimplifyVBinop tried to
simplify also vector binary operations with only one constant operand.

This fixes the problem restoring the old behavior of SimplifyVBinOp.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199328 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-15 19:51:32 +00:00
..
CMakeLists.txt
DAGCombiner.cpp [DAGCombiner] Fix a wrong check in method SimplifyVBinOp. 2014-01-15 19:51:32 +00:00
FastISel.cpp Avoid illegal integer promotion in fastisel 2013-11-15 19:09:27 +00:00
FunctionLoweringInfo.cpp [stackprotector] Use analysis from the StackProtector pass for stack layout in PEI a nd LocalStackSlot passes. 2013-12-19 03:17:11 +00:00
InstrEmitter.cpp Always let value types influence register classes. 2014-01-14 06:18:38 +00:00
InstrEmitter.h
LegalizeDAG.cpp Add support for legalizing SETNE/SETEQ by inverting the condition code and the result of the comparison. 2013-11-21 13:24:49 +00:00
LegalizeFloatTypes.cpp
LegalizeIntegerTypes.cpp
LegalizeTypes.cpp [DAG] Refactor vector splitting code in SelectionDAG. No functional change intended. 2013-11-19 21:20:17 +00:00
LegalizeTypes.h Correct word hyphenations 2013-12-05 05:44:44 +00:00
LegalizeTypesGeneric.cpp SelectionDAG: Optimize expansion of vec_type = BITCAST scalar_type 2013-11-22 00:41:05 +00:00
LegalizeVectorOps.cpp
LegalizeVectorTypes.cpp Correct word hyphenations 2013-12-05 05:44:44 +00:00
LLVMBuild.txt
Makefile
ResourcePriorityQueue.cpp
ScheduleDAGFast.cpp
ScheduleDAGRRList.cpp
ScheduleDAGSDNodes.cpp
ScheduleDAGSDNodes.h
ScheduleDAGVLIW.cpp
SDNodeDbgValue.h
SelectionDAG.cpp [DAG] Teach DAG to also reassociate vector operations 2014-01-13 20:51:35 +00:00
SelectionDAGBuilder.cpp Fix non-deterministic SDNodeOrder-dependent codegen 2014-01-12 14:09:17 +00:00
SelectionDAGBuilder.h Fix non-deterministic SDNodeOrder-dependent codegen 2014-01-12 14:09:17 +00:00
SelectionDAGDumper.cpp Put the functionality for printing a value to a raw_ostream as an 2014-01-09 02:29:41 +00:00
SelectionDAGISel.cpp Hide the pre-RA-sched= option. 2014-01-13 20:08:27 +00:00
SelectionDAGPrinter.cpp Put the functionality for printing a value to a raw_ostream as an 2014-01-09 02:29:41 +00:00
TargetLowering.cpp Refactor function that checks that __builtin_returnaddress's argument is constant. 2014-01-06 00:43:20 +00:00
TargetSelectionDAGInfo.cpp