[all-commits] [llvm/llvm-project] 5f6491: Fix MLIR bytecode reading of i0 IntegerAttr

Mehdi Amini via All-commits all-commits at lists.llvm.org
Wed May 24 13:46:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f649130eb5ff048bfbda84f5847da0072c2500f
      https://github.com/llvm/llvm-project/commit/5f649130eb5ff048bfbda84f5847da0072c2500f
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M mlir/lib/IR/BuiltinDialectBytecode.cpp
    A mlir/test/Bytecode/empty_attr.mlir

  Log Message:
  -----------
  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




More information about the All-commits mailing list