Skip to content

Commit

Permalink
Add TargetExtTyID to switch statements in Hexagon and DXIL backend code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcranmer-intel committed Dec 20, 2022
1 parent 49dd02b commit aa34a9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
Expand Up @@ -1070,6 +1070,7 @@ void DXILBitcodeWriter::writeTypeTable() {
case Type::BFloatTyID:
case Type::X86_AMXTyID:
case Type::TokenTyID:
case Type::TargetExtTyID:
llvm_unreachable("These should never be used!!!");
break;
case Type::VoidTyID:
Expand Down
1 change: 1 addition & 0 deletions llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
Expand Up @@ -333,6 +333,7 @@ unsigned HexagonTargetObjectFile::getSmallestAddressableSize(const Type *Ty,
case Type::X86_AMXTyID:
case Type::TokenTyID:
case Type::TypedPointerTyID:
case Type::TargetExtTyID:
return 0;
}

Expand Down

0 comments on commit aa34a9d

Please sign in to comment.