[Mlir-commits] [mlir] [MLIR][LLVMIR] Import: add flag to prefer using unregistered intrinsics (PR #130685)

Tobias Gysi llvmlistbot at llvm.org
Tue Mar 11 12:03:42 PDT 2025


gysit wrote:

> Do you mean emitting an warning or just writing a warning in a comment? If the former: we might want to use LLVM IR without the supported intrinsics in production (i.e. not only for testing) - in which case the warning feels like a constant annoyance / misleading. Should I introduce an extra flag for controlling such warning?

I meant just writing a warning in the comment (basically something like the one I suggested above)! It is a potential foot gun if you do transformations on the IR that expect explicit intrinsics. 


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


More information about the Mlir-commits mailing list