annotate mlir/test/Dialect/LLVMIR/request-c-wrappers.mlir @ 259:011663b4a808

remove duplicate setjmp in return continuation
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 12 Oct 2023 15:52:37 +0900
parents c4bab56944e8
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 }