[llvm-branch-commits] [llvm] ee11bf3 - [Hexagon] Silence unused function warning with gcc10, NFC
Krzysztof Parzyszek via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 5 12:16:54 PST 2021
Author: Krzysztof Parzyszek
Date: 2021-01-05T14:11:45-06:00
New Revision: ee11bf316f6be9dba29026b332fcde1dc3be4f9d
URL: https://github.com/llvm/llvm-project/commit/ee11bf316f6be9dba29026b332fcde1dc3be4f9d
DIFF: https://github.com/llvm/llvm-project/commit/ee11bf316f6be9dba29026b332fcde1dc3be4f9d.diff
LOG: [Hexagon] Silence unused function warning with gcc10, NFC
Added:
Modified:
llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp b/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
index 056a5a83a0a6..05269d37f812 100644
--- a/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
@@ -118,7 +118,7 @@ class HexagonVectorCombine {
private:
bool isByteVecTy(Type *Ty) const;
- bool isSectorTy(Type *Ty) const;
+ bool isSectorTy(Type *Ty) const LLVM_ATTRIBUTE_UNUSED;
Value *getElementRange(IRBuilder<> &Builder, Value *Lo, Value *Hi, int Start,
int Length) const;
};
More information about the llvm-branch-commits
mailing list