Commit 47c862f
committed
[llvm] Fix fabs simplification
The existing code hits the std::optional<bool> is of comparing
to a bool being "correct" for the std::optional and the intended
comparison.
This corrects the comparison while reinforcing the idea that we
need some way to diagnose this.
Fixes #1528241 parent 6f53f1c commit 47c862f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6304 | 6304 | | |
6305 | 6305 | | |
6306 | 6306 | | |
6307 | | - | |
| 6307 | + | |
| 6308 | + | |
6308 | 6309 | | |
6309 | 6310 | | |
6310 | 6311 | | |
| |||
0 commit comments