hanchenye-llvm-project/llvm/test/LTO
Justin Bogner b10a520c8f Protect user-supplied runtime library functions in LTO
Add user-supplied C runtime and compiler-rt library functions to
llvm.compiler.used to protect them from premature optimization by
passes like -globalopt and -ipsccp.  Calls to (seemingly unused)
runtime library functions can be added by -instcombine and instruction
lowering.

Patch by Duncan Exon Smith, thanks!

Fixes <rdar://problem/14740087>

llvm-svn: 194514
2013-11-12 21:44:01 +00:00
..
cfi_endproc.ll Optimize more linkonce_odr values during LTO. 2013-10-21 17:14:55 +00:00
linkonce_odr_func.ll A better fix that also works on ppc: add a target tripple. 2013-11-02 06:00:09 +00:00
lit.local.cfg llvm/test/LTO should run also on cygwin. 2013-10-09 01:07:31 +00:00
runtime-library.ll Protect user-supplied runtime library functions in LTO 2013-11-12 21:44:01 +00:00