diff options
| author | James Y Knight <jyknight@google.com> | 2025-07-01 18:10:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-01 18:10:30 -0400 |
| commit | ae2104897c7d9f887c415b07fb2662486082b248 (patch) | |
| tree | d1dfe1fae01c5326a9f31eda2f2dd8b9ddbfc494 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 475cd8dfaf84dba4eae4172352953a84c3730f71 (diff) | |
[SelectionDAG] Fix NaN regression in fma dag-combine. (#146592)
After 901e1390c9778a191256335d37802bc631c2d183 (#127770), the DAG
combine would transform `fma(x, 0.0, 1.0)` into `1.0` if
`-fp-contract=fast` was enabled, in addition to when 'x' is marked
nnan/ninf.
It's only valid in the latter case, not the former, so delete the extra
condition.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
