OSDN Git Service

Fix the inline cost calculation to take into account instructions
authorEli Friedman <eli.friedman@gmail.com>
Sat, 18 Jul 2009 05:26:06 +0000 (05:26 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sat, 18 Jul 2009 05:26:06 +0000 (05:26 +0000)
commit4612e597790cfed94e967860dd9bc09bd1e338aa
tree905e40494a8f478068585314ea2afb663b05d451
parentef6ab66bcfdbd87f2e25c720e7e1dca7e36cf269
Fix the inline cost calculation to take into account instructions
which cannot be folded even if they have constant operands. Significantly
helps if_spppsubr.c attached to PR4573.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76285 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineCost.cpp