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)
commite1b9216bc37d890efe944515d92fe8911f5cb991
tree80001519478968761999aad3105a4fbb41749339
parentf13b36ddc55705cb00a8ce4aaa804bac2225ace2
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.

llvm-svn: 76285
llvm/lib/Transforms/Utils/InlineCost.cpp