llvm-6502/test/Transforms
Dan Gohman a60832b018 Fix a bogus srem rule - a negative value srem'd by a power-of-2
can have a non-negative result; for example, -16%16 is 0. Also,
clarify the related comments. This fixes PR2670.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54767 91177308-0d34-0410-b5e6-96231b3b80d8
2008-08-13 23:12:35 +00:00
..
ADCE
ArgumentPromotion Restructure ArgumentPromotion a bit. Instead of just having a single boolean 2008-07-29 10:00:13 +00:00
BlockPlacement
BranchFolding
CodeExtractor
CondProp
ConstantMerge
ConstProp
DeadArgElim Un-XFAIL multdeadretval, since instcombine now properly handles the mess deadargelim leaves behind :-) 2008-07-16 12:56:52 +00:00
DeadStoreElimination Add support for eliminating stores that store the same value that was just loaded. 2008-07-28 16:14:26 +00:00
GCSE
GlobalDCE
GlobalOpt Make GlobalOpt preserve address spaces when scalar replacing aggregate globals. 2008-07-17 11:59:53 +00:00
GVN
GVNPRE
IndVarsSimplify
Inline Move two tests from SRETPromotion to Inline, since they only call opt -inline. 2008-08-07 15:36:46 +00:00
InstCombine Fix a bogus srem rule - a negative value srem'd by a power-of-2 2008-08-13 23:12:35 +00:00
Internalize
IPConstantProp
JumpThreading
LCSSA
LICM Put the LICM of constant GlobalVariables, introduced in r53945, under a 2008-07-24 23:57:25 +00:00
LoopDeletion
LoopIndexSplit
LoopRotate
LoopSimplify
LoopStrengthReduce Check sign to detect overflow before changing compare stride. 2008-08-13 02:05:14 +00:00
LoopUnroll Add -unroll-allow-partial command line option that enabled the loop unroller to 2008-07-29 13:21:23 +00:00
LoopUnswitch
LowerInvoke
LowerSetJmp
LowerSwitch
Mem2Reg
MemCpyOpt
PredicateSimplifier
PruneEH
RaiseAllocations
Reassociate
ScalarRepl
SCCP Fix SCCP's handling of struct value loads and stores. SCCP doesn't 2008-08-13 21:22:48 +00:00
SimplifyCFG
SimplifyLibCalls
SRETPromotion Add a basic test for the SRETPromotion pass. 2008-08-07 15:55:18 +00:00
StripSymbols
TailCallElim
TailDup