summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-01-26 21:31:35 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-01-26 21:31:35 +0000
commit87256d8fe1e39128cdc31a88436c13cae5c6472b (patch)
tree2ffe833f02453fe6379eed476c203a8964d80ff0 /llvm/lib/Target/PowerPC
parent832e79ca3258067159b2c8764de3e1d01dfcdcaa (diff)
downloadbcm5719-llvm-87256d8fe1e39128cdc31a88436c13cae5c6472b.tar.gz
bcm5719-llvm-87256d8fe1e39128cdc31a88436c13cae5c6472b.zip
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. llvm-svn: 94591
Diffstat (limited to 'llvm/lib/Target/PowerPC')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud