[all-commits] [llvm/llvm-project] a44e63: [AsmParser] Fix support for zero bit integer types.

Chris Lattner via All-commits all-commits at lists.llvm.org
Sat Dec 12 21:29:33 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a44e630353b83fea89b7d6e61cba5d34800d86d5
      https://github.com/llvm/llvm-project/commit/a44e630353b83fea89b7d6e61cba5d34800d86d5
  Author: Chris Lattner <clattner at nondot.org>
  Date:   2020-12-12 (Sat, 12 Dec 2020)

  Changed paths:
    M mlir/lib/Parser/Token.cpp
    M mlir/test/Dialect/Quant/parse-any-invalid.mlir
    M mlir/test/Dialect/Quant/parse-uniform-invalid.mlir
    M mlir/test/IR/invalid.mlir
    M mlir/test/IR/parser.mlir

  Log Message:
  -----------
  [AsmParser] Fix support for zero bit integer types.

Zero bit integer types are supported by IntegerType for consistency,
but the asmparser never got updated. Allow them to be parsed, as
required to fix CIRCT issue #316

Differential Revision: https://reviews.llvm.org/D93089




More information about the All-commits mailing list