diff options
author | Hans Wennborg <hans@chromium.org> | 2024-06-14 10:32:39 +0200 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2024-06-14 10:47:41 +0200 |
commit | b422fa6b62160f5eeb038d816d05e039182dde56 (patch) | |
tree | 1facf1d549693b6e685af22a7eebbe8b4db9daa4 /llvm/lib/IR/Function.cpp | |
parent | 880d37038c7bbff53ef02c9d6b01cbbc87875243 (diff) | |
download | llvm-b422fa6b62160f5eeb038d816d05e039182dde56.zip llvm-b422fa6b62160f5eeb038d816d05e039182dde56.tar.gz llvm-b422fa6b62160f5eeb038d816d05e039182dde56.tar.bz2 |
Revert "[MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)"
This broke the lit tests on Mac:
https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-RA/1096/
> By storing possible test vectors instead of combinations of conditions,
> the restriction is dramatically relaxed.
>
> This introduces two options to `cc1`:
>
> * `-fmcdc-max-conditions=32767`
> * `-fmcdc-max-test-vectors=2147483646`
>
> This change makes coverage mapping, profraw, and profdata incompatible
> with Clang-18.
>
> - Bitmap semantics changed. It is incompatible with previous format.
> - `BitmapIdx` in `Decision` points to the end of the bitmap.
> - Bitmap is packed per function.
> - `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.
>
> RFC:
> https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798
This reverts commit 7ead2d8c7e9114b3f23666209a1654939987cb30.
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions