[llvm] [IRBuilder] Fold binary intrinsics (PR #80743)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 22 07:20:43 PST 2024
================
@@ -112,8 +112,8 @@ class NoFolder final : public IRBuilderFolder {
return nullptr;
}
- Value *FoldBinaryIntrinsic(Intrinsic::ID ID, Value *LHS, Value *RHS,
- Type *Ty) const override {
+ Value *FoldBinaryIntrinsic(Intrinsic::ID ID, Value *LHS, Value *RHS, Type *Ty,
+ Instruction *FMFSource = nullptr) const override {
----------------
dtcxzyw wrote:
```suggestion
Instruction *FMFSource) const override {
```
https://github.com/llvm/llvm-project/pull/80743
More information about the llvm-commits
mailing list