Fix the MLIR integer attribute parser to be correct in the face of large integer...
authorChris Lattner <clattner@nondot.org>
Mon, 13 Apr 2020 23:37:00 +0000 (16:37 -0700)
committerChris Lattner <clattner@nondot.org>
Tue, 14 Apr 2020 04:50:36 +0000 (21:50 -0700)
commit1beffb92d17c8ba54a6c4b3d4e96867403717a3f
treeda7b8b4c8fc4515e35cd46471267d35b6df235df
parent4aae4e3f48b9156755c4cfc7ad63fe2a7029d9d7
Fix the MLIR integer attribute parser to be correct in the face of large integer attributes, it was previously artificially limited to 64 bits.

Reviewers: rriddle!

Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, frgossen, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78065
mlir/lib/Parser/Parser.cpp
mlir/lib/Parser/Token.cpp
mlir/lib/Parser/Token.h
mlir/test/IR/attribute.mlir
mlir/test/IR/invalid.mlir