Mercurial > hg > CbC > CbC_llvm
comparison mlir/test/IR/wrapping_op.mlir @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
comparison
equal
deleted
inserted
replaced
172:9fbae9c8bf63 | 173:0572611fdcc8 |
---|---|
1 // RUN: mlir-opt %s | FileCheck %s | 1 // RUN: mlir-opt -allow-unregistered-dialect %s | FileCheck %s |
2 // RUN: mlir-opt -mlir-print-op-generic -mlir-print-debuginfo %s | FileCheck %s --check-prefix=CHECK-GENERIC | 2 // RUN: mlir-opt -allow-unregistered-dialect -mlir-print-op-generic -mlir-print-debuginfo %s | FileCheck %s --check-prefix=CHECK-GENERIC |
3 | 3 |
4 // CHECK-LABEL: func @wrapping_op | 4 // CHECK-LABEL: func @wrapping_op |
5 // CHECK-GENERIC: "func" | 5 // CHECK-GENERIC: "func" |
6 func @wrapping_op(%arg0 : i32, %arg1 : f32) -> (i3, i2, i1) { | 6 func @wrapping_op(%arg0 : i32, %arg1 : f32) -> (i3, i2, i1) { |
7 // CHECK: %0:3 = test.wrapping_region wraps "some.op"(%arg1, %arg0) {test.attr = "attr"} : (f32, i32) -> (i1, i2, i3) | 7 // CHECK: %0:3 = test.wrapping_region wraps "some.op"(%arg1, %arg0) {test.attr = "attr"} : (f32, i32) -> (i1, i2, i3) |