[llvm] [IRBuilder] Propagate fast-math flags to folding in CreateBinOpFMF (PR #227543)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 19:59:04 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-ir

Author: Jack Huang (jackhong12)

<details>
<summary>Changes</summary>

Fast-math flags are used by InstSimplifyFolder, so we need to pass them to the folding function in CreateBinOpFMF.

---
Full diff: https://github.com/llvm/llvm-project/pull/227543.diff


1 Files Affected:

- (modified) llvm/include/llvm/IR/IRBuilder.h (+1-1) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


https://github.com/llvm/llvm-project/pull/227543


More information about the llvm-commits mailing list