From f29fb0bf5cc53b1f563c5e2fb7906a198ef09ff3 Mon Sep 17 00:00:00 2001 From: "Wang, Pengfei" Date: Wed, 30 Dec 2020 22:22:13 +0800 Subject: [PATCH] [X86][AMX] Fix compilation warning introduced by 981a0bd8. --- lib/Target/Hexagon/HexagonTargetObjectFile.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/Hexagon/HexagonTargetObjectFile.cpp b/lib/Target/Hexagon/HexagonTargetObjectFile.cpp index cfc8ed813c9..595cf94e3f1 100644 --- a/lib/Target/Hexagon/HexagonTargetObjectFile.cpp +++ b/lib/Target/Hexagon/HexagonTargetObjectFile.cpp @@ -331,6 +331,7 @@ unsigned HexagonTargetObjectFile::getSmallestAddressableSize(const Type *Ty, case Type::LabelTyID: case Type::MetadataTyID: case Type::X86_MMXTyID: + case Type::X86_AMXTyID: case Type::TokenTyID: return 0; }