| Issue |
124565
|
| Summary |
[Coverage][MC/DC] __builitin_expect may be handled as if parentheses
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
chapuni
|
```C++
bool foo(bool a, bool b, bool c) {
return a && __builtin_expect(b && c, true);
}
```
```
warning: unsupported MC/DC boolean _expression_; contains an operation with a nested boolean _expression_. _expression_ will not be covered
```
I think we may handle the example like `a && (b && c)` in MC/DC analysis.
Does anyone know other similar cases?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs