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

Tobias Gysi llvmlistbot at llvm.org
Mon Aug 19 04:41:32 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
----------------
gysit wrote:

Feel free to delete this test. It was verifying mlir-translate produces an error if we cannot parse an LLVM data layout string. If the LLVM IR verifier catches this, then there is no reason for this test. Except you know an input that still produces the old error message (e.g. something that is not verified in LLVM but that fails MLIR's import).


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


More information about the Mlir-commits mailing list