Files
revng-revng/tests/unit/mlir_lit_tests/operations/function-with-attributes.mlir
Lauri Vasama be8351a17d Split up Clift PrimitiveType
* PrimitiveType is now an interface.
* VoidKind is now VoidType.
* FloatKind is now FloatType.
* The integer kinds are now IntegerType with IntegerKind.
2026-04-08 12:18:10 +03:00

14 lines
306 B
MLIR

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