From 5b10fa6e889dae746d5e9929dfc7015d1b627afa Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 16 May 2023 18:48:38 -0700 Subject: [PATCH] [Hexagon] Remove unused declaration getLocation The unused declaration was introduced without a corresponding function definition in: commit f5d07a05bbd41f827ccfa1bed7bfdfbab2be85dc Author: Krzysztof Parzyszek Date: Mon Sep 7 14:26:48 2020 -0500 --- llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp b/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp index 3f4244e..03bc817 100644 --- a/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp +++ b/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp @@ -246,7 +246,6 @@ private: }; Align getAlignFromValue(const Value *V) const; - std::optional getLocation(const Instruction &In) const; std::optional getAddrInfo(Instruction &In) const; bool isHvx(const AddrInfo &AI) const; // This function is only used for assertions at the moment. -- 2.7.4