llvm-6502/lib/Transforms/Scalar
Chris Lattner 4241e4da85 Implement shift-simplify.ll:test[45].
First teach instcombine that sign bit checks only demand the 
sign bit, this allows simplify demanded bits to hack on 
expressions better.

Second, teach instcombine that ashr is useless if only the
sign bit is demanded.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39880 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-15 20:54:51 +00:00
..
ADCE.cpp s/llvm::DominatorTreeBase::DomTreeNode/llvm::DomTreeNode/g 2007-06-04 00:32:22 +00:00
BasicBlockPlacement.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
CodeGenPrepare.cpp Sink CmpInst's to their uses to reduce register pressure. 2007-06-12 16:50:17 +00:00
CondPropagate.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
ConstantProp.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
CorrelatedExprs.cpp Use DominatorTree instead of ETForest. 2007-06-07 21:35:27 +00:00
DCE.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
DeadStoreElimination.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
FastDSE.cpp Handle GEPs with all-zero indices in the same way we handle pointer-pointer bitcasts. Also, fix a potentia infinite loop. 2007-07-13 22:50:48 +00:00
GCSE.cpp Use DominatorTree instead of ETForest. 2007-06-07 18:45:06 +00:00
GVNPRE.cpp Make the pass registration static. 2007-07-10 20:20:19 +00:00
IndVarSimplify.cpp Fix a bug. 2007-06-27 09:50:26 +00:00
InstructionCombining.cpp Implement shift-simplify.ll:test[45]. 2007-07-15 20:54:51 +00:00
LICM.cpp Do not require ETForest. Now it is unused by LICM. 2007-06-07 22:21:15 +00:00
LoopRotation.cpp Disable claims to preserve analysis until open issues are resolved. 2007-07-13 21:53:42 +00:00
LoopStrengthReduce.cpp Rename ScalarEvolution::deleteInstructionFromRecords to 2007-06-19 14:28:31 +00:00
LoopUnroll.cpp Correct a few comments. 2007-05-14 14:31:17 +00:00
LoopUnswitch.cpp Disable claims to preserve analysis until open issues are resolved. 2007-07-13 21:53:42 +00:00
LowerGC.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
LowerPacked.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
Makefile DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now 2005-10-24 02:26:13 +00:00
PredicateSimplifier.cpp Use maximal intersection algorithm exclusively. Fixes miscompile bug. 2007-07-14 04:28:04 +00:00
Reassociate.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
Reg2Mem.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
ScalarReplAggregates.cpp Expose struct size threhold to allow users to tweak their own setting. 2007-07-09 21:19:23 +00:00
SCCP.cpp Fix PR1431 2007-05-17 22:10:15 +00:00
SimplifyCFG.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
TailDuplication.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
TailRecursionElimination.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00