mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
be8351a17d
* PrimitiveType is now an interface. * VoidKind is now VoidType. * FloatKind is now FloatType. * The integer kinds are now IntegerType with IntegerKind.
17 lines
359 B
MLIR
17 lines
359 B
MLIR
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
// RUN: %revngcliftopt %s
|
|
|
|
!void = !clift.void
|
|
|
|
!function = !clift.func<
|
|
"/type-definition/1000-CABIFunctionDefinition" as "f" : !void()
|
|
>
|
|
|
|
!function$ptr = !clift.ptr<8 to !function>
|
|
|
|
%function = clift.undef : !function
|
|
clift.decay %function : !function -> !function$ptr
|