mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-07 10:02:22 +00:00
[mlir] fix test failure in EDSC/builder-api-test
This patch fixes a test failure on a non-intel (PowerPC64) box. The two affine.load are independent and hence llvm may reorder them. The CHECK lines are modified for supporting reordered case. Differential Revision: https://reviews.llvm.org/D72435
This commit is contained in:
parent
b65b1f322b
commit
4a83f1e171
@ -724,9 +724,10 @@ TEST_FUNC(indirect_access) {
|
||||
// clang-format on
|
||||
|
||||
// clang-format off
|
||||
// CHECK-LABEL: func @indirect_access(
|
||||
// CHECK: [[B:%.*]] = affine.load
|
||||
// CHECK: [[D:%.*]] = affine.load
|
||||
// CHECK-LABEL: func @indirect_access
|
||||
// CHECK-SAME: (%[[ARG0:.*]]: memref<?xf32>, %[[ARG1:.*]]: memref<?xf32>, %[[ARG2:.*]]: memref<?xf32>, %[[ARG3:.*]]: memref<?xf32>)
|
||||
// CHECK-DAG: [[B:%.*]] = affine.load %[[ARG1]]
|
||||
// CHECK-DAG: [[D:%.*]] = affine.load %[[ARG3]]
|
||||
// CHECK: load %{{.*}}{{\[}}[[B]]{{\]}}
|
||||
// CHECK: store %{{.*}}, %{{.*}}{{\[}}[[D]]{{\]}}
|
||||
// clang-format on
|
||||
|
Loading…
x
Reference in New Issue
Block a user