mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
22 lines
446 B
MLIR
22 lines
446 B
MLIR
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
// RUN: %root/bin/revng clift-opt %s
|
|
|
|
!void = !clift.void
|
|
!int32_t = !clift.int<signed 4>
|
|
|
|
!f = !clift.func<
|
|
"/type-definition/1-CABIFunctionDefinition" : !void(!int32_t)
|
|
>
|
|
|
|
module attributes {clift.module} {
|
|
clift.func @f<!f>(%arg0 : !int32_t) {
|
|
clift.expr {
|
|
%r = clift.assign %arg0, %arg0 : !int32_t
|
|
clift.yield %r : !int32_t
|
|
}
|
|
}
|
|
}
|