mirror of https://github.com/llvm/torch-mlir
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
parent
270608c781
commit
e1839a0d6b
|
@ -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 \
|
||||
|
|
|
@ -1 +1 @@
|
|||
2f91195bcc7a87e455ecce10dbc8cbb17ecb313a
|
||||
bf894c869e281985f392775c0cc0bb199201b477
|
||||
|
|
|
@ -1 +1 @@
|
|||
e34523c87c3f1cfabcf741568dede026bbb12d3a
|
||||
7d9518c8000bcd742b364a390bc79560f736dc96
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue