diff options
| author | Roman Levenstein <romix.llvm@googlemail.com> | 2008-03-27 09:14:57 +0000 | 
|---|---|---|
| committer | Roman Levenstein <romix.llvm@googlemail.com> | 2008-03-27 09:14:57 +0000 | 
| commit | bc674501ba67a009c96bae6fac2d320bb480e33f (patch) | |
| tree | b31271ee8f9e286f5c5ac46fec2556a7ff278f4f /llvm/lib/CodeGen/OcamlCollector.cpp | |
| parent | a5e13fab86f56f4187c63472f8db2ed099116c4d (diff) | |
| download | bcm5719-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

