[Mlir-commits] [mlir] [MLIR][LLVM] Add `llvm.experimental.constrained.fptrunc` operation (PR #86260)
Tobias Gysi
llvmlistbot at llvm.org
Tue Mar 26 02:39:39 PDT 2024
gysit wrote:
> I guess we could have some kind of argument for the base intrinsic class in a similar way to immediate values, but that'd require further modifications. I don't think it'd be 100 % automatic anyway...
A solution where the arguments are defined in a derived class being the actual intrinsic or some unary / binary etc base class could be nice. Especially since that may allow us to properly type the intrinsic operands etc. However, with tablegen it is really hard to guess how complex things are in the end. If you have a good idea you are very welcome to give it a shot.
Otherwise it is also ok to land and follow up if needed (e.g. after adding more intrinsics).
https://github.com/llvm/llvm-project/pull/86260
More information about the Mlir-commits
mailing list