Bump llvm and iree versions.

* Gets us passed the upstream changes that enable type interfaces.
* Adds the ARM backend due to an implicit IREE dependency sneaking in for that (https://github.com/google/iree/issues/2401)
* Adds explicit TypeStorage to type base classes per upstream change.
pull/1/head
Stella Laurenzo 2020-07-02 11:24:05 -07:00
parent 270608c781
commit e1839a0d6b
6 changed files with 11 additions and 11 deletions

View File

@ -32,7 +32,7 @@ cmake -GNinja \
"-B$build_mlir" \
-DLLVM_INSTALL_UTILS=ON \
-DLLVM_ENABLE_PROJECTS=mlir \
-DLLVM_TARGETS_TO_BUILD="X86;AArch64" \
-DLLVM_TARGETS_TO_BUILD="X86;AArch64;ARM" \
-DLLVM_INCLUDE_TOOLS=ON \
-DLLVM_BUILD_TOOLS=OFF \
-DLLVM_INCLUDE_TESTS=OFF \

View File

@ -1 +1 @@
2f91195bcc7a87e455ecce10dbc8cbb17ecb313a
bf894c869e281985f392775c0cc0bb199201b477

View File

@ -1 +1 @@
e34523c87c3f1cfabcf741568dede026bbb12d3a
7d9518c8000bcd742b364a390bc79560f736dc96

View File

@ -41,7 +41,7 @@ struct SlotObjectTypeStorage;
/// Python 'bool' type (can contain values True or False, corresponding to
/// i1 constants of 0 or 1).
class BoolType : public Type::TypeBase<BoolType, Type> {
class BoolType : public Type::TypeBase<BoolType, Type, TypeStorage> {
public:
using Base::Base;
static bool kindof(unsigned kind) { return kind == BasicpyTypes::BoolType; }
@ -51,7 +51,7 @@ public:
};
/// The type of the Python `bytes` values.
class BytesType : public Type::TypeBase<BytesType, Type> {
class BytesType : public Type::TypeBase<BytesType, Type, TypeStorage> {
public:
using Base::Base;
static bool kindof(unsigned kind) { return kind == BasicpyTypes::BytesType; }
@ -61,7 +61,7 @@ public:
};
/// The type of the Python `Ellipsis` value.
class EllipsisType : public Type::TypeBase<EllipsisType, Type> {
class EllipsisType : public Type::TypeBase<EllipsisType, Type, TypeStorage> {
public:
using Base::Base;
static bool kindof(unsigned kind) {
@ -73,7 +73,7 @@ public:
};
/// The type of the Python `None` value.
class NoneType : public Type::TypeBase<NoneType, Type> {
class NoneType : public Type::TypeBase<NoneType, Type, TypeStorage> {
public:
using Base::Base;
static bool kindof(unsigned kind) { return kind == BasicpyTypes::NoneType; }
@ -102,7 +102,7 @@ public:
};
/// The type of the Python `str` values.
class StrType : public Type::TypeBase<StrType, Type> {
class StrType : public Type::TypeBase<StrType, Type, TypeStorage> {
public:
using Base::Base;
static bool kindof(unsigned kind) { return kind == BasicpyTypes::StrType; }
@ -112,7 +112,7 @@ public:
};
/// An unknown type that could be any supported python type.
class UnknownType : public Type::TypeBase<UnknownType, Type> {
class UnknownType : public Type::TypeBase<UnknownType, Type, TypeStorage> {
public:
using Base::Base;
static bool kindof(unsigned kind) {

View File

@ -20,7 +20,7 @@ namespace NpcompRtTypes {
enum Kind { BufferViewType = TypeRanges::NpcompRt };
} // namespace NpcompRtTypes
class BufferViewType : public Type::TypeBase<BufferViewType, Type> {
class BufferViewType : public Type::TypeBase<BufferViewType, Type, TypeStorage> {
public:
using Base::Base;

View File

@ -29,7 +29,7 @@ struct NdArrayTypeStorage;
} // namespace detail
/// The singleton type representing an unknown dtype.
class AnyDtypeType : public Type::TypeBase<AnyDtypeType, Type> {
class AnyDtypeType : public Type::TypeBase<AnyDtypeType, Type, TypeStorage> {
public:
using Base::Base;