llvm-6502/lib
Bill Wendling 2aae6ae572 Micro-optimization:
If we have this situation:

    jCC  L1
    jmp  L2
L1:
  ...
L2:
  ...

We can get a small performance boost by emitting this instead:

    jnCC L2
L1:
  ...
L2:
  ...

This testcase shows an example of this:

float func(float x, float y) {
    double product = (double)x * y;
    if (product == 0.0)
        return product;
    return product - 1.0;
}



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101075 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-12 22:19:57 +00:00
..
Analysis Remove unneeded debug in PostDominator runOnFunction() 2010-04-12 15:32:55 +00:00
Archive
AsmParser turn an assert into a proper check, fixing crash on invalid here: 2010-04-10 18:01:25 +00:00
Bitcode
CodeGen Remove a #include. 2010-04-12 16:26:03 +00:00
CompilerDriver
ExecutionEngine
Linker
MC
Support
System
Target Micro-optimization: 2010-04-12 22:19:57 +00:00
Transforms Suppress LinearFunctionTestReplace when the computed backedge-taken 2010-04-12 21:13:43 +00:00
VMCore Simplify this code. 2010-04-12 22:12:29 +00:00
Makefile