mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 11:39:35 +00:00
f8479d9de5
Historically the builtin dialect has had an empty namespace. This has unfortunately created a very awkward situation, where many utilities either have to special case the empty namespace, or just don't work at all right now. This revision adds a namespace to the builtin dialect, and starts to cleanup some of the utilities to no longer handle empty namespaces. For now, the assembly form of builtin operations does not require the `builtin.` prefix. (This should likely be re-evaluated though) Differential Revision: https://reviews.llvm.org/D105149
8 lines
292 B
MLIR
8 lines
292 B
MLIR
// RUN: not mlir-opt %s -mlir-print-op-on-diagnostic 2>&1 | FileCheck %s
|
|
|
|
// This file tests the functionality of 'mlir-print-op-on-diagnostic'.
|
|
|
|
// CHECK: {{invalid to use 'test.invalid_attr'}}
|
|
// CHECK: {{see current operation: "builtin.module"()}}
|
|
module attributes {test.invalid_attr} {}
|