// RUN: mlir-query %s -c "m allOf(hasOpName(\"memref.alloca\"), hasOpAttrName(\"alignment\"))" | FileCheck %s func.func @dynamic_alloca(%arg0: index, %arg1: index) -> memref { %0 = memref.alloca(%arg0, %arg1) : memref memref.alloca(%arg0, %arg1) {alignment = 32} : memref return %0 : memref } // CHECK: Match #1: // CHECK: {{.*}}.mlir:5:3: note: "root" binds here // CHECK: memref.alloca(%arg0, %arg1) {alignment = 32} : memref