llvm/lib/CodeGen
Chris Lattner 588bbbffa1 Improve and elimination. On PPC, for:
bool %test(int %X) {
        %Y = and int %X, 8
        %Z = setne int %Y, 0
        ret bool %Z
}

we now generate this:

        rlwinm r2, r3, 0, 28, 28
        srwi r3, r2, 3

instead of this:

        rlwinm r2, r3, 0, 28, 28
        srwi r2, r2, 3
        rlwinm r3, r2, 0, 31, 31

I'll leave it to Nate to get it down to one instruction. :)

---------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21391 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-21 06:28:15 +00:00
..
SelectionDAG Improve and elimination. On PPC, for: 2005-04-21 06:28:15 +00:00
AsmPrinter.cpp add support for prefix/suffix strings to go around GlobalValue(s) 2005-04-02 12:21:51 +00:00
BranchFolding.cpp
IntrinsicLowering.cpp First step in adding pcmarker intrinsic. Second step (soon) is adding backend support. 2005-03-28 20:05:49 +00:00
LiveInterval.cpp
LiveInterval.h
LiveIntervalAnalysis.cpp there is no need to remove this instruction, linscan does it already as it 2005-04-09 16:24:20 +00:00
LiveIntervalAnalysis.h Allow the live interval analysis pass to be a bit more aggressive about 2005-03-09 23:05:19 +00:00
LiveVariables.cpp Consider the livein/out set for a function, allowing targets to not have to 2005-04-09 15:23:25 +00:00
MachineBasicBlock.cpp print the machine CFG in the -print-machineinstrs dump 2005-04-01 06:48:38 +00:00
MachineCodeEmitter.cpp
MachineFunction.cpp Improve conformance with the Misha spelling benchmark suite 2005-01-30 00:09:23 +00:00
MachineInstr.cpp
Makefile
Passes.cpp
PHIElimination.cpp
PhysRegTracker.h
PrologEpilogInserter.cpp Simplify/speedup the PEI by not having to scan for uses of the callee saved 2005-01-23 23:13:12 +00:00
RegAllocIterativeScan.cpp
RegAllocLinearScan.cpp
RegAllocLocal.cpp
RegAllocSimple.cpp
TwoAddressInstructionPass.cpp
UnreachableBlockElim.cpp Fix the missing symbols problem Bill was hitting. Patch contributed by 2005-03-17 15:38:16 +00:00
VirtRegMap.cpp Make sure to notice that explicit physregs are used in the function 2005-04-04 21:35:34 +00:00
VirtRegMap.h