llvm-6502/lib
Jakob Stoklund Olesen 026ac3ada5 Revert test polarity to match comment and desired outcome. Remove undeserved bonus.
A GEP with all constant indices is already considered free by
analyzeBasicBlock(), so don't give it an extra bonus in
CountCodeReductionForAlloca().

This patch should remove a small positive bias toward inlining functions with
variable-index GEPs, and remove a smaller negative bias from functions with
all-constant index GEPs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94591 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-26 21:31:35 +00:00
..
Analysis Revert test polarity to match comment and desired outcome. Remove undeserved bonus. 2010-01-26 21:31:35 +00:00
Archive make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
AsmParser make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
Bitcode Fix the bitcode reader to deserialize nuw/nsw/etc. bits properly in the case 2010-01-25 21:55:39 +00:00
CodeGen Emit DW_AT_containing_type attribute for a class if containing type is known. 2010-01-26 21:16:06 +00:00
CompilerDriver Better error message. 2010-01-26 14:55:16 +00:00
ExecutionEngine Add support for target-specific 32-bit custom-lowered 2010-01-26 04:05:28 +00:00
Linker make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
MC Eliminate SetDirective, and replace it with HasSetDirective. 2010-01-26 20:40:54 +00:00
Support Fix a typo that several people pointed out. Also, address the case of 2010-01-26 15:56:18 +00:00
System mark some libraries that currently require RTTI. 2010-01-24 20:22:08 +00:00
Target Eliminate SetDirective, and replace it with HasSetDirective. 2010-01-26 20:40:54 +00:00
Transforms Switch AllocaDbgDeclares to SmallVector and don't leak DIFactory 2010-01-26 18:57:53 +00:00
VMCore Fix ICmpInst::makeConstantRange to use ConstantRange's API properly 2010-01-26 16:04:20 +00:00
Makefile remove llvm-db: it is completely broken and if anyone wants to do a debugger, 2009-10-05 02:29:51 +00:00