From bdb9295664aa2ea0ee195505a0ca78ea8e34e657 Mon Sep 17 00:00:00 2001 From: Alex Zinenko Date: Wed, 5 Aug 2020 13:29:35 +0200 Subject: [PATCH] [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. --- mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir b/mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir index 9042bf3..a247c35 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)> +// CHECK32: llvm.extractvalue %{{.*}}[0] : !llvm.struct<(i64, ptr)> // CHECK-LABEL: func @rank_of_ranked // CHECK32-LABEL: func @rank_of_ranked -- 2.7.4