Mercurial > hg > CbC > CbC_llvm
annotate mlir/test/IR/print-op-generic.mlir @ 223:5f17cb93ff66 llvm-original
LLVM13 (2021/7/18)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:43:00 +0900 |
parents | |
children |
rev | line source |
---|---|
223 | 1 // # RUN: mlir-opt %s | FileCheck %s |
2 // # RUN: mlir-opt %s --mlir-print-op-generic | FileCheck %s --check-prefix=GENERIC | |
3 | |
4 // CHECK-LABEL: func @pretty_names | |
5 // CHECK-GENERIC: "func"() | |
6 func @pretty_names() { | |
7 %x = test.string_attr_pretty_name | |
8 // CHECK: %x = test.string_attr_pretty_name | |
9 // GENERIC: %0 = "test.string_attr_pretty_name"() | |
10 return | |
11 // CHECK: return | |
12 // GENERIC: "std.return"() | |
13 } |