Go to file
Bill Wendling b02bbe416f 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;
}

llvm-svn: 101075
2010-04-12 22:19:57 +00:00
clang Add fixit hint for missing ':' in ternary expressions. 2010-04-12 22:10:35 +00:00
compiler-rt clang/Darwin: Don't include enable_execute_stack in libcc_kext.a. 2010-03-31 22:36:07 +00:00
llvm Micro-optimization: 2010-04-12 22:19:57 +00:00