llvm-6502/lib/Transforms
Duncan Sands 3f329cb781 Teach GVN to also propagate switch cases. For example, in this code
switch (n) {
    case 27:
      do_something(x);
    ...
  }
the call do_something(x) will be replaced with do_something(27).  In
gcc-as-one-big-file this results in the removal of about 500 lines of
bitcode (about 0.02%), so has about 1/10 of the effect of propagating
branch conditions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141360 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-07 08:29:06 +00:00
..
Hello
InstCombine Re-commit 141203, but much more conservative. 2011-10-05 20:53:43 +00:00
Instrumentation
IPO Inlining and unrolling heuristics should be aware of free truncs. 2011-10-01 01:39:05 +00:00
Scalar Teach GVN to also propagate switch cases. For example, in this code 2011-10-07 08:29:06 +00:00
Utils LSR should avoid redundant edge splitting. 2011-10-04 03:50:44 +00:00
CMakeLists.txt
Makefile