[Hexagon] Silence unused function warning with gcc10, NFC
authorKrzysztof Parzyszek <kparzysz@quicinc.com>
Tue, 5 Jan 2021 20:10:56 +0000 (14:10 -0600)
committerKrzysztof Parzyszek <kparzysz@quicinc.com>
Tue, 5 Jan 2021 20:11:45 +0000 (14:11 -0600)
llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp

index 056a5a83a0a6abd086bbca584131d51329d1685d..05269d37f812b2c9268b75c2a2dd949ce2b84c1b 100644 (file)
@@ -118,7 +118,7 @@ public:
 
 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;
 };