llvm-6502/lib
Evan Cheng 298ebf2bd8 If the false case is the current basic block, then this is a self loop.
We do not want to emit "Loop: ... brcond Out; br Loop", as it adds an extra
instruction in the loop.  Instead, invert the condition and emit
"Loop: ... br!cond Loop; br Out.

Generalize the fix by moving it from PPCDAGToDAGISel to SelectionDAGLowering.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26231 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-16 08:27:56 +00:00
..
Analysis add an assert 2006-02-14 20:14:17 +00:00
Archive
AsmParser Convert this over to work with the new makefiles 2006-02-15 07:22:58 +00:00
Bytecode
CodeGen If the false case is the current basic block, then this is a self loop. 2006-02-16 08:27:56 +00:00
Debugger
ExecutionEngine simplify this code now that each constant pool entry is not separately allocated 2006-02-09 04:49:59 +00:00
Linker
Support Let bugpoint work on sparc with v9 instructions enabled. 2006-02-04 05:02:27 +00:00
System
Target If the false case is the current basic block, then this is a self loop. 2006-02-16 08:27:56 +00:00
Transforms Fix VC++ warning. 2006-02-16 04:07:37 +00:00
VMCore Another work around for the 'symbols with different types can have the same 2006-02-13 21:43:26 +00:00
Makefile