[Mlir-commits] [mlir] [mlir][nvgpu] add `nvgpu.rcp` op (PR #100965)

Guray Ozen llvmlistbot at llvm.org
Mon Jul 29 03:35:26 PDT 2024


================
@@ -20,6 +20,7 @@
 #ifndef NVGPU
 #define NVGPU
 
+include "mlir/Interfaces/InferTypeOpInterface.td"
----------------
grypp wrote:

Agreed, the `arith` dialect handles this well, and the IR is readable. 

However, when an OP in another dialect infers the result type, I find it less readable. This is just my personal opinion. 

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


More information about the Mlir-commits mailing list