[PATCH] D151492: Add fastmath attributes to llvm.call_intrinsic

Lily Orth-Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 25 13:55:34 PDT 2023


electriclilies added inline comments.


================
Comment at: mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp:98
 static LogicalResult
 convertCallLLVMIntrinsicOp(CallIntrinsicOp &op, llvm::IRBuilderBase &builder,
                            LLVM::ModuleTranslation &moduleTranslation) {
----------------
Mogball wrote:
> I think the problem with the cast below is that this is passed by reference. You should not pass operation handles by reference.
I think I can't pass it by value because it's const though.. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151492/new/

https://reviews.llvm.org/D151492



More information about the cfe-commits mailing list