llvm.org GIT mirror llvm / 732c775
Merged in revision 1.12. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_1@9461 91177308-0d34-0410-b5e6-96231b3b80d8 John Criswell 15 years ago
1 changed file(s) with 10 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
6363 The default optimizer sequence used by the C/C++ front-ends is:

6464
6565
66
  • CFG simplification (-simplifycfg)
  • 6667
  • Interprocedural dead code elimination (-globaldce)
  • 68
  • Interprocedural constant propagation (-ipconstprop)
  • 69
  • Dead argument elimination (-deadargelim)
  • 6770
  • Exception handling pruning (-prune-eh)
  • 6871
  • Function inlining (-inline)
  • 6972
  • Instruction combining (-instcombine)
  • 9396
    9497
  • Global constant merging (-constmerge)
  • 9598
  • [optional] Internalization [which marks most functions and global variables static] (-internalize)
  • 99
  • Interprocedural constant propagation (-ipconstprop)
  • 96100
  • Interprocedural dead argument elimination (-deadargelim)
  • 97101
  • Instruction combining (-instcombine)
  • 98102
  • CFG simplification (-simplifycfg)
  • 102106 At this time, LLVM is known to work properly with SPEC CPU 2000, the Olden
    103107 benchmarks, and the Ptrdist benchmarks among many other programs. Note however
    104108 that the Sparc and X86 backends do not currently support exception throwing or
    105 long jumping. For these programs you must use the C backend.

    109 long jumping (including 253.perlbmk in SPEC). For these programs you must use
    110 the C backend.

    106111
    107112
    108113
    357362
  • Initializers for global variables
  • 358363 cannot include special floating point numbers like Not-A-Number or Infinity.

    359364
    365
  • Zero arg vararg functions are not
  • 366 supported. This should not affect LLVM produced by the C or C++
    367 frontends.

    368
    360369
  • The code produces by the C back-end has only been tested with the Sun CC and
  • 361370 GCC compilers. It is possible that it will have to be adjusted to support other
    362371 C compilers.

    388397
    389398
    390399 Maintained By: The LLVM Team
    391 The LLVM Compiler Infrastructure
    392
    393400
    394401
    395402 Last modified: Mon Oct 20 14:04:51 CDT 2003