commit | f0d2f448fd9b8b11d489e5da10d88e969e6c35a2 | [log] [tgz] |
---|---|---|
author | James Molloy <jmolloy@google.com> | Fri Aug 03 01:54:46 2018 -0700 |
committer | jpienaar <jpienaar@google.com> | Fri Mar 29 12:54:11 2019 -0700 |
tree | a99e6e5968d7f2aee2ecb9c8e0ba50406dd61657 | |
parent | 3da99d73b815c22abe811f7c4e39260058dcb8a3 [diff] [blame] |
[mlir] Add a TypeAttr class, allow type attributes PiperOrigin-RevId: 207235956
diff --git a/lib/IR/AsmPrinter.cpp b/lib/IR/AsmPrinter.cpp index 6177e19..b2ebaa6 100644 --- a/lib/IR/AsmPrinter.cpp +++ b/lib/IR/AsmPrinter.cpp
@@ -280,6 +280,9 @@ case Attribute::Kind::AffineMap: printAffineMapReference(cast<AffineMapAttr>(attr)->getValue()); break; + case Attribute::Kind::Type: + printType(cast<TypeAttr>(attr)->getValue()); + break; } }