[llvm-branch-commits] [llvm] 16c2067 - [X86][AMX] Fix compilation warning introduced by 981a0bd8.

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 30 06:38:58 PST 2020


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;
   }


        


More information about the llvm-branch-commits mailing list