Skip to content

Commit

Permalink
Fix for build as part of igc
Browse files Browse the repository at this point in the history
IGC build used to fail because of warnings/errors emitted by gcc
  • Loading branch information
vmustya committed May 12, 2022
1 parent 1fad747 commit 4ce354d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions GenXIntrinsics/include/llvm/GenXIntrinsics/GenXIntrinsics.h
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ inline int getLSCVectorSize(LSCCategory Cat) {
llvm_unreachable("no such argument");
return Invalid;
}
return Invalid;
}
// Returns VectorSize index.
inline int getLSCVectorSize(unsigned IID) {
Expand All @@ -733,6 +734,7 @@ inline int getLSCDataSize(LSCCategory Cat) {
llvm_unreachable("no such argument");
return Invalid;
}
return Invalid;
}
// Returns DataSize index.
inline int getLSCDataSize(unsigned IID) {
Expand All @@ -756,6 +758,7 @@ inline int getLSCImmOffset(LSCCategory Cat) {
llvm_unreachable("no such argument");
return Invalid;
}
return Invalid;
}
// Returns immediate offset index.
inline int getLSCImmOffset(unsigned IID) {
Expand All @@ -781,6 +784,7 @@ inline int getLSCDataOrder(LSCCategory Cat) {
llvm_unreachable("no such argument");
return Invalid;
}
return Invalid;
}
// Returns data order index.
inline int getLSCDataOrder(unsigned IID) {
Expand All @@ -804,6 +808,7 @@ inline int getLSCWidth(LSCCategory Cat) {
llvm_unreachable("no such argument");
return Invalid;
}
return Invalid;
}
// Returns width index.
inline int getLSCWidth(unsigned IID) {
Expand Down

0 comments on commit 4ce354d

Please sign in to comment.