brintos

brintos / llvm-project-archived public Read only

0
0
Text · 758 B · 262d3cd Raw
30 lines · plain
1// RUN: mlir-translate -mlir-to-cpp %s | FileCheck %s --check-prefix NO-FILTER2// RUN: mlir-translate -mlir-to-cpp -file-id=non-existing %s | FileCheck %s --check-prefix NON-EXISTING3// RUN: mlir-translate -mlir-to-cpp -file-id=file_one %s | FileCheck %s --check-prefix FILE-ONE4// RUN: mlir-translate -mlir-to-cpp -file-id=file_two %s | FileCheck %s --check-prefix FILE-TWO5 6 7// NO-FILTER-NOT: func_one8// NO-FILTER-NOT: func_two9 10// NON-EXISTING-NOT: func_one11// NON-EXISTING-NOT: func_two12 13// FILE-ONE: func_one14// FILE-ONE-NOT: func_two15 16// FILE-TWO-NOT: func_one17// FILE-TWO: func_two18 19emitc.file "file_one" {20  emitc.func @func_one(%arg: f32) {21    emitc.return22  }23}24 25emitc.file "file_two" {26  emitc.func @func_two(%arg: f32) {27    emitc.return28  }29}30