[all-commits] [llvm/llvm-project] c979ce: Add IRBuilder::CreateFMA (#131112)
Frederik Harwath via All-commits
all-commits at lists.llvm.org
Fri Mar 14 05:21:20 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c979ce7e362908a361cee721d2a6db4bcd65be1f
https://github.com/llvm/llvm-project/commit/c979ce7e362908a361cee721d2a6db4bcd65be1f
Author: Frederik Harwath <frederik.harwath at amd.com>
Date: 2025-03-14 (Fri, 14 Mar 2025)
Changed paths:
M llvm/include/llvm/IR/IRBuilder.h
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/IRBuilder.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
Log Message:
-----------
Add IRBuilder::CreateFMA (#131112)
This commit adds a function for creating fma intrinsic calls to the IRBuilder. If the "IsFPConstrained" flag of the builder is set,
the function creates a call to "experimental.constrained.fma" instead of "llvm.fma" .
To support the creation of the constrained intrinsic, a function "CreateConstrainedFPIntrinsic" is introduced.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list