Bring back CHECK-LABEL post
PiperOrigin-RevId:
271166428
-// RUN: mlir-opt %s -test-memref-stride-calculation | FileCheck %s
+// RUN: mlir-opt %s -test-memref-stride-calculation -o /dev/null | FileCheck %s
func @f(%0: index) {
+// CHECK-LABEL: Testing: f
%1 = alloc() : memref<3x4x5xf32>
// CHECK: MemRefType offset: 0 strides: 20, 5, 1
%2 = alloc(%0) : memref<3x4x?xf32>
// Traverse AllocOp and compute strides of each MemRefType independently.
void TestMemRefStrideCalculation::runOnFunction() {
+ llvm::outs() << "Testing: " << getFunction().getName() << "\n";
getFunction().walk([&](AllocOp allocOp) {
auto memrefType = allocOp.getResult()->getType().cast<MemRefType>();
SmallVector<int64_t, 4> strideVector;