Author: Wang, Pengfei Date: 2020-12-30T22:22:13+08:00 New Revision: 16c2067cf212cd8355d4c274db0fe40b486eb3d3
URL: https://github.com/llvm/llvm-project/commit/16c2067cf212cd8355d4c274db0fe40b486eb3d3 DIFF: https://github.com/llvm/llvm-project/commit/16c2067cf212cd8355d4c274db0fe40b486eb3d3.diff LOG: [X86][AMX] Fix compilation warning introduced by 981a0bd8. Added: Modified: llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp Removed: ################################################################################ diff --git a/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp b/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp index cfc8ed813c92..595cf94e3f1d 100644 --- a/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp +++ b/llvm/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; } _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits