llvm-6502/lib/CodeGen/SelectionDAG
Tim Northover a5eeb9da05 SelectionDAG: create correct BooleanContent constants
Occasionally DAGCombiner can spot that a SETCC operation is completely
redundant and reduce it to "all true" or "all false". If this happens to a
vector, the value produced has to take account of what a normal comparison
would have produced, which may be an all-1s bitmask.

The fix in SelectionDAG.cpp is tested, however, as far as I can see the code in
TargetLowering.cpp is possibly unreachable and almost certainly irrelevant when
triggered so there are no tests. However, I believe it's still clearly the
right change and may save someone else some hassle if it suddenly becomes
reachable. So I'm doing it anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190147 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-06 12:38:12 +00:00
..
CMakeLists.txt
DAGCombiner.cpp Use TargetSubtargetInfo::useAA() in DAGCombine 2013-08-29 03:29:55 +00:00
FastISel.cpp
FunctionLoweringInfo.cpp
InstrEmitter.cpp
InstrEmitter.h
LegalizeDAG.cpp SelectionDAG: Remove unnecessary uses of TargetLowering::getPointerTy() 2013-08-26 15:06:10 +00:00
LegalizeFloatTypes.cpp Add ExpandFloatOp_FCOPYSIGN to handle ppcf128-related expansions 2013-08-19 06:55:37 +00:00
LegalizeIntegerTypes.cpp SelectionDAG: Remove unnecessary uses of TargetLowering::getPointerTy() 2013-08-26 15:06:10 +00:00
LegalizeTypes.cpp
LegalizeTypes.h Improve the widening of integral binary vector operations 2013-08-19 20:01:35 +00:00
LegalizeTypesGeneric.cpp Remove an over-zealous assertion. A pointer type could be illegal if the target is prepared to custom-legalize pointer operands. This assertion was evaluated before the target would have a chance to do so, making it impossible. 2013-08-27 00:28:23 +00:00
LegalizeVectorOps.cpp SelectionDAG: Remove unnecessary uses of TargetLowering::getPointerTy() 2013-08-26 15:06:10 +00:00
LegalizeVectorTypes.cpp SelectionDAG: Remove unnecessary uses of TargetLowering::getPointerTy() 2013-08-26 15:06:10 +00:00
LLVMBuild.txt
Makefile
ResourcePriorityQueue.cpp
ScheduleDAGFast.cpp
ScheduleDAGRRList.cpp
ScheduleDAGSDNodes.cpp Add a function object to compare the first or second component of a std::pair. 2013-08-24 12:54:27 +00:00
ScheduleDAGSDNodes.h
ScheduleDAGVLIW.cpp
SDNodeDbgValue.h
SelectionDAG.cpp SelectionDAG: create correct BooleanContent constants 2013-09-06 12:38:12 +00:00
SelectionDAGBuilder.cpp SelectionDAG: Remove unnecessary uses of TargetLowering::getPointerTy() 2013-08-26 15:06:10 +00:00
SelectionDAGBuilder.h [SystemZ] Use SRST to optimize memchr 2013-08-20 09:38:48 +00:00
SelectionDAGDumper.cpp
SelectionDAGISel.cpp [stackprotector] When finding the split point to splice off the end of a parentmbb into a successmbb, include any DBG_VALUE MI. 2013-08-22 05:40:50 +00:00
SelectionDAGPrinter.cpp
TargetLowering.cpp SelectionDAG: create correct BooleanContent constants 2013-09-06 12:38:12 +00:00
TargetSelectionDAGInfo.cpp