summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/OcamlCollector.cpp
diff options
context:
space:
mode:
authorRoman Levenstein <romix.llvm@googlemail.com>2008-03-27 09:14:57 +0000
committerRoman Levenstein <romix.llvm@googlemail.com>2008-03-27 09:14:57 +0000
commitbc674501ba67a009c96bae6fac2d320bb480e33f (patch)
treeb31271ee8f9e286f5c5ac46fec2556a7ff278f4f /llvm/lib/CodeGen/OcamlCollector.cpp
parenta5e13fab86f56f4187c63472f8db2ed099116c4d (diff)
downloadbcm5719-llvm-bc674501ba67a009c96bae6fac2d320bb480e33f.tar.gz
bcm5719-llvm-bc674501ba67a009c96bae6fac2d320bb480e33f.zip
Speed-up the SumOfUnscheduledPredsOfSuccs by introducing a new function
called LimitedSumOfUnscheduledPredsOfSuccs. It terminates the computation after a given treshold is reached. This new function is always faster, but brings real wins only on bigger test-cases. The old function SumOfUnscheduledPredsOfSuccs is left in-place for now and therefore a warning about an unused static function is produced. llvm-svn: 48872
Diffstat (limited to 'llvm/lib/CodeGen/OcamlCollector.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud