llvm-6502/lib/Transforms/Scalar
Nick Lewycky 1b344bc986 Xor'ing both sides of icmp by sign-bit is equivalent to swapping signedness of
the predicate.

Also, make this optz'n apply in more cases where it's safe to do so.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54876 91177308-0d34-0410-b5e6-96231b3b80d8
2008-08-17 07:34:14 +00:00
..
ADCE.cpp Remove the ability for ADCE to remove unreachable blocks in loop nests, because, as Eli pointed out, SimplifyCFG already does this. 2008-07-03 17:21:41 +00:00
BasicBlockPlacement.cpp
CodeGenPrepare.cpp Rename SDOperand to SDValue. 2008-07-27 21:46:04 +00:00
CondPropagate.cpp
ConstantProp.cpp Fix comment typos. 2008-08-01 12:23:49 +00:00
DCE.cpp
DeadStoreElimination.cpp Don't remove volatile loads. Thanks to Duncan for noticing this one. 2008-07-28 20:52:42 +00:00
GVN.cpp Supress a gcc-4.3 warning. 2008-07-18 21:06:02 +00:00
GVNPRE.cpp
IndVarSimplify.cpp Pass the computed iteration count value to RewriteLoopExitValues 2008-08-05 22:34:21 +00:00
InstructionCombining.cpp Xor'ing both sides of icmp by sign-bit is equivalent to swapping signedness of 2008-08-17 07:34:14 +00:00
JumpThreading.cpp Enable first-class aggregates support. 2008-07-23 00:34:11 +00:00
LICM.cpp Put the LICM of constant GlobalVariables, introduced in r53945, under a 2008-07-24 23:57:25 +00:00
LoopDeletion.cpp Use use_empty() instead of getNumUses(), avoiding a use list traversal. 2008-06-23 23:23:49 +00:00
LoopIndexSplit.cpp Use empty() instead of begin() == end(). 2008-08-14 18:13:49 +00:00
LoopRotation.cpp Enable first-class aggregates support. 2008-07-23 00:34:11 +00:00
LoopStrengthReduce.cpp Reapply 54786. Add overflow and number of mantissa bits checks. 2008-08-15 21:21:34 +00:00
LoopUnroll.cpp Add -unroll-allow-partial command line option that enabled the loop unroller to 2008-07-29 13:21:23 +00:00
LoopUnswitch.cpp Do not try to update dominator info while manipulating CFG. This code does not handle all cases and keeps invalid dom info around some cases, which misleads other passes down stream. 2008-07-03 17:37:52 +00:00
Makefile
MemCpyOptimizer.cpp
PredicateSimplifier.cpp
Reassociate.cpp
Reg2Mem.cpp
Scalar.cpp
ScalarReplAggregates.cpp minor tidying of comments. 2008-06-23 17:11:23 +00:00
SCCP.cpp Temporarily revert r54792. It's causing an ICE during bootstrapping. 2008-08-14 23:05:24 +00:00
SimplifyCFGPass.cpp
SimplifyLibCalls.cpp Have IRBuilder take a template argument on whether or not to preserve 2008-08-08 19:39:37 +00:00
TailDuplication.cpp
TailRecursionElimination.cpp