[Mlir-commits] [mlir] [mlir][IndexToLLVM] Lower UnrealizedConversionCastOp related to IndexType in IndexToLLVM (PR #75255)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Wed Dec 13 00:58:08 PST 2023


ftynse wrote:

Why do we end up with that IR? It looks like one lowering was configured with 32-bit index and another with 64-bit index. We should rather fix the root cause -- using incompatible configurations -- than have such local fixes that hide the misconfiguration. Furthermore, this fix will become insufficient the moment the order of operations is switched, and one would need to truncate (which would be definitely undesirable as a silent fixup).

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


More information about the Mlir-commits mailing list