llvm-6502/lib/Transforms/Scalar
Chris Lattner 956db27a63 Instcombine this:
%shortcirc_val = select bool %tmp.1, bool true, bool %tmp.4             ; <bool> [#uses=1]
        %tmp.6 = cast bool %shortcirc_val to int                ; <int> [#uses=1]

into this:

        %shortcirc_val = or bool %tmp.1, %tmp.4         ; <bool> [#uses=1]
        %tmp.6 = cast bool %shortcirc_val to int                ; <int> [#uses=1]

not this:

        %tmp.4.cast = cast bool %tmp.4 to int           ; <int> [#uses=1]
        %tmp.6 = select bool %tmp.1, int 1, int %tmp.4.cast             ; <int> [#uses=1]


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21389 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-21 05:43:13 +00:00
..
ADCE.cpp Remove use of bind_obj 2005-02-22 23:22:58 +00:00
BasicBlockPlacement.cpp Add more missing createXxxPass functions. 2005-01-08 17:21:40 +00:00
CondPropagate.cpp silence a bogus warning 2005-04-18 05:26:21 +00:00
ConstantProp.cpp Prototype these functions more accurately 2004-09-20 04:43:15 +00:00
CorrelatedExprs.cpp This mega patch converts us from using Function::a{iterator|begin|end} to 2005-03-15 04:54:21 +00:00
DCE.cpp Prototype these functions more accurately 2004-09-20 04:43:15 +00:00
DeadStoreElimination.cpp Adjust to changes in instruction interfaces. 2005-01-29 00:39:08 +00:00
GCSE.cpp This mega patch converts us from using Function::a{iterator|begin|end} to 2005-03-15 04:54:21 +00:00
IndVarSimplify.cpp Fix the second bug attached to PR504. 2005-02-14 20:11:45 +00:00
InstructionCombining.cpp Instcombine this: 2005-04-21 05:43:13 +00:00
LICM.cpp Fix a bug where LICM was not updating AA information properly when sinking 2005-03-25 00:22:36 +00:00
LoopStrengthReduce.cpp fix a bug where we thought arguments were constants :( 2005-03-06 22:52:29 +00:00
LoopUnroll.cpp Fix a bug where we could corrupt a parent loop's header info if we unrolled 2005-03-06 20:57:32 +00:00
LoopUnswitch.cpp Put createLoopUnswitchPass() into proper namespace 2005-01-06 05:47:18 +00:00
LowerConstantExprs.cpp Fix #includes of i*.h => Instructions.h as per PR403. 2004-07-29 17:05:13 +00:00
LowerGC.cpp Initialize with the correct constant type 2004-10-27 03:55:24 +00:00
LowerPacked.cpp Fix the exposed prototype for the lower packed pass, thanks to 2004-11-19 16:49:34 +00:00
Makefile Change Library Names Not To Conflict With Others When Installed 2004-10-27 23:18:45 +00:00
PRE.cpp Add more missing createXxxPass functions. 2005-01-08 17:21:40 +00:00
Reassociate.cpp This mega patch converts us from using Function::a{iterator|begin|end} to 2005-03-15 04:54:21 +00:00
ScalarReplAggregates.cpp Silence warnings 2005-01-08 19:34:41 +00:00
SCCP.cpp Wrap some long lines. 2005-04-19 19:16:19 +00:00
SimplifyCFG.cpp Hrm, some people complain when the compiler cheerfully tells them what it's 2004-10-19 06:33:16 +00:00
TailDuplication.cpp Do not count debugger intrinsics in size estimation. 2004-11-22 17:23:57 +00:00
TailRecursionElimination.cpp This mega patch converts us from using Function::a{iterator|begin|end} to 2005-03-15 04:54:21 +00:00