mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-01 09:41:52 +00:00
7fac28fa4fcf5271c20ce2cdac128ec2cbb8a7ed
Loop with zero iteration are, syntactically, loops. They have been excluded from the loop counter even for the non-profitable counters. This seems to be unintentially as the sentinel value of '0' minimal iterations does exclude such loops. Fix by never considering the iteration count when the sentinel value of 0 is found. This makes the recently added NumTotalLoops couter redundant with NumLoopsOverall, which now is equivalent. Hence, NumTotalLoops is removed as well. Note: The test case 'ScopDetect/statistics.ll' effectively does not check profitability, because -polly-process-unprofitable is passed to all test cases. llvm-svn: 311551
…
…
Description
Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
Apache-2.0
2.9 GiB
0 Stars
1 Watchers
0 Forks
Languages
C++
89.5%
Python
4.1%
Starlark
4%
Carbon
1.4%
JavaScript
0.4%
Other
0.3%