llvm-6502/lib
Chandler Carruth d383b8eec3 [inliner] Skip debug intrinsics even earlier in computing the inline
cost so that they don't impact the vector bonus. Fundamentally, counting
unsimplified instructions is just *wrong*; it will continue to introduce
instability as things which do not generate code bizarrely impact
inlining. For example, sufficiently nested inlined functions could turn
off the vector bonus with lifetime markers just like the debug
intrinsics do. =/

This is a short-term tactical fix. Long term, I think we need to remove
the vector bonus entirely. That's a separate patch and discussion
though.

The patch to fix this provided by Dario Domizioli. I've added some
comments about the planned direction and used a heavily pruned form of
debug info intrinsics for the test case. While this debug info doesn't
work or "do" anything useful, it lets us easily test all manner of
interference easily, and I suspect this will not be the last time we
want to craft a pattern where debug info interferes with the inliner in
a problematic way.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200609 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-01 10:38:17 +00:00
..
Analysis [inliner] Skip debug intrinsics even earlier in computing the inline 2014-02-01 10:38:17 +00:00
AsmParser
Bitcode
CodeGen [stackprotector] Implement the sspstrong rules for stack layout. 2014-02-01 01:36:16 +00:00
DebugInfo
ExecutionEngine
IR Implement inalloca codegen for x86 with the new inalloca design 2014-01-31 23:50:57 +00:00
IRReader
LineEditor Introduce line editor library. 2014-01-31 23:46:14 +00:00
Linker
LTO
MC MC: Improve the .fill directive's compatibility with GAS 2014-02-01 07:19:38 +00:00
Object
Option
Support Hopefully fix mingw32 bots. 2014-02-01 02:42:20 +00:00
TableGen
Target Simplify some x86 format classes and remove some ambiguities in their application. 2014-02-01 08:17:56 +00:00
Transforms Revert "[SLPV] Recognize vectorizable intrinsics during SLP vectorization ..." 2014-02-01 01:37:30 +00:00
CMakeLists.txt Introduce line editor library. 2014-01-31 23:46:14 +00:00
LLVMBuild.txt Introduce line editor library. 2014-01-31 23:46:14 +00:00
Makefile Introduce line editor library. 2014-01-31 23:46:14 +00:00