[Mlir-commits] [mlir] bdb9295 - [mlir] Fix convert-to-llvmir.mlir test broken due to syntax change
Alex Zinenko
llvmlistbot at llvm.org
Wed Aug 5 04:30:55 PDT 2020
Author: Alex Zinenko
Date: 2020-08-05T13:29:35+02:00
New Revision: bdb9295664aa2ea0ee195505a0ca78ea8e34e657
URL: https://github.com/llvm/llvm-project/commit/bdb9295664aa2ea0ee195505a0ca78ea8e34e657
DIFF: https://github.com/llvm/llvm-project/commit/bdb9295664aa2ea0ee195505a0ca78ea8e34e657.diff
LOG: [mlir] Fix convert-to-llvmir.mlir test broken due to syntax change
The syntax of the LLVM dialect types changed between the time the code
was written and it was submitted, leading to a test failure. Update the
syntax.
Added:
Modified:
mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
Removed:
################################################################################
diff --git a/mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir b/mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
index 9042bf36c1b3..a247c35a0915 100644
--- a/mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
+++ b/mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
@@ -1325,8 +1325,8 @@ func @rank_of_unranked(%unranked: memref<*xi32>) {
// CHECK-NEXT: llvm.mlir.undef
// CHECK-NEXT: llvm.insertvalue
// CHECK-NEXT: llvm.insertvalue
-// CHECK-NEXT: llvm.extractvalue %{{.*}}[0] : !llvm<"{ i64, i8* }">
-// CHECK32: llvm.extractvalue %{{.*}}[0] : !llvm<"{ i64, i8* }">
+// CHECK-NEXT: llvm.extractvalue %{{.*}}[0] : !llvm.struct<(i64, ptr<i8>)>
+// CHECK32: llvm.extractvalue %{{.*}}[0] : !llvm.struct<(i64, ptr<i8>)>
// CHECK-LABEL: func @rank_of_ranked
// CHECK32-LABEL: func @rank_of_ranked
More information about the Mlir-commits
mailing list