[Mlir-commits] [clang] [llvm] [mlir] [IRBuilder] Refactor for intrinsics const-folding (NFC) (PR #202738)
Nikita Popov
llvmlistbot at llvm.org
Tue Jun 16 03:29:16 PDT 2026
================
@@ -1832,19 +1862,19 @@ class IRBuilderBase {
/// the created intrinsic call according to \p Rounding and \p
/// Except and it sets \p FPMathTag as the 'fpmath' metadata, using
/// defaults if a value equals nullopt/null.
- LLVM_ABI CallInst *CreateConstrainedFPIntrinsic(
+ LLVM_ABI Value *CreateConstrainedFPIntrinsic(
----------------
nikic wrote:
I think we want these to be WithoutFolding as well. For these it's possible that they can be folded but not DCEd, which is kind of implied by IRBuilder folding.
https://github.com/llvm/llvm-project/pull/202738
More information about the Mlir-commits
mailing list