[Mlir-commits] [mlir] 56ddbb7 - [mlir][llvm] Use the roundtrip flag in test (#173782)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Dec 28 07:46:53 PST 2025
Author: Tobias Gysi
Date: 2025-12-28T16:46:49+01:00
New Revision: 56ddbb7560d82bf2cf1bcb79f1dac72eee0e8f52
URL: https://github.com/llvm/llvm-project/commit/56ddbb7560d82bf2cf1bcb79f1dac72eee0e8f52
DIFF: https://github.com/llvm/llvm-project/commit/56ddbb7560d82bf2cf1bcb79f1dac72eee0e8f52.diff
LOG: [mlir][llvm] Use the roundtrip flag in test (#173782)
This commit changes the debug info test to use the `--verify-roundtrip`
flag. The byte code rountrip has been problematic before. Recent changes
to the attribute parsing make it possible to use the flag.
This closes https://github.com/llvm/llvm-project/issues/163004
Added:
Modified:
mlir/test/Dialect/LLVMIR/debuginfo.mlir
Removed:
################################################################################
diff --git a/mlir/test/Dialect/LLVMIR/debuginfo.mlir b/mlir/test/Dialect/LLVMIR/debuginfo.mlir
index d7bf99bfaed7f..545715f73f449 100644
--- a/mlir/test/Dialect/LLVMIR/debuginfo.mlir
+++ b/mlir/test/Dialect/LLVMIR/debuginfo.mlir
@@ -1,5 +1,4 @@
-// RUN: mlir-opt %s | mlir-opt | FileCheck %s
-// RUN: mlir-opt -emit-bytecode %s | mlir-opt | FileCheck %s
+// RUN: mlir-opt %s --verify-roundtrip | mlir-opt | FileCheck %s
// CHECK-DAG: #[[FILE:.*]] = #llvm.di_file<"debuginfo.mlir" in "/test/">
#file = #llvm.di_file<"debuginfo.mlir" in "/test/">
More information about the Mlir-commits
mailing list