[Mlir-commits] [llvm] [mlir] [DataLayout] Refactor parsing of i/f/v/a specifications (PR #104699)

Sergei Barannikov llvmlistbot at llvm.org
Mon Aug 19 04:56:54 PDT 2024


================
@@ -360,7 +360,7 @@ declare void @llvm.experimental.noalias.scope.decl(metadata)
 ; // -----
 
 ; CHECK:      import-failure.ll
-; CHECK-SAME: error: cannot translate data layout: i8:8:8:8
+; CHECK-SAME: error: malformed specification
----------------
s-barannikov wrote:

> If the LLVM IR verifier catches this, then there is no reason for this test.

LLVM should property report any malformed specifications after #104545.

> Except you know an input that still produces the old error message

I tried to find one, but couldn't. I'll delete the test.

Thanks for chiming in quickly!


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


More information about the Mlir-commits mailing list