mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
16 lines
402 B
MLIR
16 lines
402 B
MLIR
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
// RUN: not %root/bin/revng clift-opt %s 2>&1 | FileCheck %s
|
|
|
|
!int32_t = !clift.int<signed 4>
|
|
!int32_t$ptr = !clift.ptr<8 to !int32_t>
|
|
!float32_t = !clift.float<4>
|
|
|
|
%p = clift.undef : !int32_t$ptr
|
|
%i = clift.undef : !float32_t
|
|
|
|
// CHECK: requires an integer operand
|
|
clift.ptr_add %p, %i : (!int32_t$ptr, !float32_t)
|