llvm-6502/lib/CodeGen/SelectionDAG
Andrea Di Biagio 888cbad774 Fix edge condition in DAGCombiner to improve codegen of shift sequences.
When canonicalizing dags according to the rule
(shl (zext (shr X, c1) ), c1) ==> (zext (shl (shr X, c1), c1))

remember to add the new shl dag to the DAGCombiner worklist of nodes.
If we don't explicitly add it to the worklist of nodes to visit, we
may not trigger later on the rule that folds the shift left + logical
shift right into a AND instruction with bitmask.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192883 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-17 11:02:58 +00:00
..
CMakeLists.txt llvm/lib: [CMake] Add explicit dependency to intrinsics_gen. 2012-06-24 13:32:01 +00:00
DAGCombiner.cpp Fix edge condition in DAGCombiner to improve codegen of shift sequences. 2013-10-17 11:02:58 +00:00
FastISel.cpp Fix indenting. 2013-10-14 20:15:04 +00:00
FunctionLoweringInfo.cpp Debug Info: clean up usage of Verify. 2013-06-28 05:43:10 +00:00
InstrEmitter.cpp Reapply an improved version of r180816/180817. 2013-07-09 20:28:37 +00:00
InstrEmitter.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
LegalizeDAG.cpp Fixed a bug in dynamic allocation memory on stack. 2013-10-14 07:26:51 +00:00
LegalizeFloatTypes.cpp Add ExpandFloatOp_FCOPYSIGN to handle ppcf128-related expansions 2013-08-19 06:55:37 +00:00
LegalizeIntegerTypes.cpp Initial support for Neon scalar instructions. 2013-09-24 02:47:27 +00:00
LegalizeTypes.cpp Update makeLibCall to return both the call and the chain associated with the libcall instead of just the call. This allows us to specify libcalls that return void. 2013-08-13 17:54:56 +00:00
LegalizeTypes.h [SelectionDAG] Teach the vector scalarizer about TRUNCATE. 2013-09-17 00:26:56 +00:00
LegalizeTypesGeneric.cpp Revert "SelectionDAG: Teach the legalizer to split SETCC if VSELECT needs splitting too." 2013-09-21 15:09:46 +00:00
LegalizeVectorOps.cpp Remove pointless assertion after r190376 2013-09-12 01:07:49 +00:00
LegalizeVectorTypes.cpp [SelectionDAG] Teach the vector scalarizer about TRUNCATE. 2013-09-17 00:26:56 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
ResourcePriorityQueue.cpp Rename variables for consistency. 2013-09-11 00:41:02 +00:00
ScheduleDAGFast.cpp Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector size. 2013-07-14 04:42:23 +00:00
ScheduleDAGRRList.cpp Fix spelling intruction -> instruction. 2013-09-28 11:46:15 +00:00
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 Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
ScheduleDAGVLIW.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
SDNodeDbgValue.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
SelectionDAG.cpp Remove several unused variables. 2013-10-01 13:32:03 +00:00
SelectionDAGBuilder.cpp Revert patches to add case-range support for PR1255. 2013-09-09 19:14:35 +00:00
SelectionDAGBuilder.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
SelectionDAGDumper.cpp Add ISD::FROUND for libm round() 2013-08-07 22:49:12 +00:00
SelectionDAGISel.cpp Fix some assert messages to say the correct opcode name. Looks like one assert got copy and pasted to many places. 2013-10-06 22:38:19 +00:00
SelectionDAGPrinter.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
TargetLowering.cpp Handle (shl (anyext (shr ...))) in SimpilfyDemandedBits 2013-10-16 10:26:19 +00:00
TargetSelectionDAGInfo.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00