[mlir][Python] Make DenseElementsAttr loading be int size agnostic.
authorStella Laurenzo <stellaraccident@gmail.com>
Wed, 11 Nov 2020 18:21:53 +0000 (10:21 -0800)
committerStella Laurenzo <stellaraccident@gmail.com>
Wed, 18 Nov 2020 05:50:44 +0000 (21:50 -0800)
commit989b19442905b2a8aa83e1db65c1c5ab1211a27b
tree064af4bcc0e2a438ee0e3804e27856e9fcd29104
parente2537353e63859a2a36da93fa97cb16275681a23
[mlir][Python] Make DenseElementsAttr loading be int size agnostic.

* I had missed the note about "Standard size" in the docs. On Windows, the 'l' types are 32bit.
* This fixes the only failing MLIR-Python test on Windows.

Differential Revision: https://reviews.llvm.org/D91283
mlir/lib/Bindings/Python/IRModules.cpp