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 Since the Hello pass is built as a loadable dynamic library, don't try to convert it to new-style registration yet. 2010-10-07 00:31:16 +00:00
InstCombine Re-commit 141203, but much more conservative. 2011-10-05 20:53:43 +00:00
Instrumentation If simple ownership works then friendship is not required. 2011-09-20 18:48:56 +00:00
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 Move library stuff out of the toplevel CMakeLists.txt file. 2011-02-18 22:06:14 +00:00
Makefile