Files
revng-revng/tests/unit/mlir_lit_tests/operations/function-with-attributes.mlir
2025-03-24 09:27:57 +02:00

14 lines
328 B
MLIR

//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
// RUN: %revngcliftopt %s
!int32_t = !clift.primitive<signed 4>
!f = !clift.defined<#clift.func<
"/type-definition/1-CABIFunctionDefinition" : !int32_t(!int32_t)
>>
clift.func @f<!f>(!int32_t { my.a = "b" }) -> (!int32_t { my.c = "d" })