mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
22 lines
475 B
MLIR
22 lines
475 B
MLIR
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
// RUN: %root/bin/revng clift-opt %s
|
|
|
|
!int32_t = !clift.int<signed 4>
|
|
!int32_t$const = !clift.const<!clift.int<signed 4>>
|
|
|
|
!s = !clift.struct<
|
|
"" : size(8) {
|
|
"" : offset(0) !int32_t,
|
|
"" : offset(4) !int32_t
|
|
}
|
|
>
|
|
|
|
%0 = clift.undef : !int32_t
|
|
%a = clift.aggregate(%0, %0) : !s
|
|
|
|
%1 = clift.undef : !int32_t$const
|
|
%b = clift.aggregate(%1 : !int32_t$const, %1 : !int32_t$const) : !s
|