view 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 (2022-11-09)
parents
children
line wrap: on
line source
// RUN: mlir-opt %s -llvm-request-c-wrappers | FileCheck %s

// CHECK: func.func private @foo() attributes {llvm.emit_c_interface}
func.func private @foo()

// CHECK: func.func @bar() attributes {llvm.emit_c_interface}
func.func @bar() {
  return
}