bolt/deps/llvm-18.1.8/mlir/test/Target/LLVMIR/Import/function-attributes-generic.ll
2025-02-14 19:21:04 +01:00

9 lines
297 B
LLVM

; RUN: mlir-translate -import-llvm -split-input-file %s --mlir-print-op-generic | FileCheck %s
; Ensure that no empty parameter attribute lists are created.
; CHECK: "llvm.func"
; CHECK-SAME: <{
; CHECK-NOT: arg_attr
; CHECK-NOT: res_attrs
; CHECK-SAME: }>
declare ptr @func_no_param_attrs()