annotate mlir/test/Dialect/LLVMIR/request-c-wrappers.mlir @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
236
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
1 // RUN: mlir-opt %s -llvm-request-c-wrappers | FileCheck %s
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
2
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
3 // CHECK: func.func private @foo() attributes {llvm.emit_c_interface}
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
4 func.func private @foo()
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
5
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
6 // CHECK: func.func @bar() attributes {llvm.emit_c_interface}
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
7 func.func @bar() {
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
8 return
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
9 }