[Mlir-commits] [mlir] [mlir][LLVM] Add support for `ptrtoaddr` (PR #185104)

Krzysztof Drewniak llvmlistbot at llvm.org
Sat Mar 7 00:31:55 PST 2026


================
@@ -3854,6 +3854,21 @@ LogicalResult LLVM::BitcastOp::verify() {
   return success();
 }
 
+LogicalResult LLVM::PtrToAddrOp::verify() {
----------------
krzysz00 wrote:

LLVM translation often runs without the data layout being attached to the surrounding operation,  but instead passed in as an argument etc 

I'd recommend against this validation for now

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


More information about the Mlir-commits mailing list