Files
clang-p2996/mlir/test/Bytecode/empty_attr.mlir
Mehdi Amini 5f649130eb Fix MLIR bytecode reading of i0 IntegerAttr
The move of the bytecode serialization to be tablegen driven in
https://reviews.llvm.org/D144820 added a new condition in the reading
path that forbid 0-sized integer, even though we still produce them.

Fix #62920

Differential Revision: https://reviews.llvm.org/D151372
2023-05-24 13:45:58 -07:00

6 lines
151 B
MLIR

// RUN: mlir-opt -emit-bytecode %s | mlir-opt | FileCheck %s
// CHECK: module
// CHECK: foo.asdf = 0 : i0
module attributes { foo.asdf = 0 : i0 } { }