Files
revng-revng/tests/unit/mlir_lit_tests/operations/local-variable.mlir
Lauri Vasama eaf1bf35aa Overhaul clift.primitive assembly syntax
Old syntax:
```
!clift.primitive<SignedKind 8>
!clift.primitive<is_const = true, SignedKind 8>
```

New syntax:
```
!clift.primitive<signed 8>
!clift.primitive<const signed 8>
```
2025-03-24 09:26:43 +02:00

15 lines
267 B
MLIR

//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
// RUN: %revngcliftopt %s
!int32_t = !clift.primitive<signed 4>
clift.local !int32_t "x"
clift.local !int32_t "y" = {
%0 = clift.undef : !int32_t
clift.yield %0 : !int32_t
}