Unverified Commit be50a259 authored by Andy Kaylor's avatar Andy Kaylor Committed by GitHub
Browse files

Update foldFMulReassoc to respect absent fast-math flags (#88589)

This change updates a few of the transformations in foldFMulReassoc to
respect absent fast-math flags in cases where fmul and fdiv, fadd, or fsub
instructions were being folded but the code was only checking for
fast-math flags on the fmul instruction and was transferring flags to
the folded instruction that were not present on the other original 
instructions.

This fixes https://github.com/llvm/llvm-project/issues/82857
parent 1bc09218
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment