[all-commits] [llvm/llvm-project] 716999: [mlir] Allow shape dimensions larger than 2^32

River Riddle via All-commits all-commits at lists.llvm.org
Fri Dec 3 17:41:42 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71699961592b4f581b65b7671cb5cd1ea0a230f3
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-12-04 (Sat, 04 Dec 2021)

  Changed paths:
    M mlir/lib/Parser/TypeParser.cpp
    M mlir/test/IR/invalid.mlir
    M mlir/test/IR/parser.mlir

  Log Message:
  [mlir] Allow shape dimensions larger than 2^32

Internally we use int64_t to hold shapes, but for some
reason the parser was limiting shapes to unsigned. This
change updates the parser to properly handle int64_t shape

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

More information about the All-commits mailing list