[llvm] 5b10fa6 - [Hexagon] Remove unused declaration getLocation
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Tue May 16 18:48:44 PDT 2023
Author: Kazu Hirata
Date: 2023-05-16T18:48:38-07:00
New Revision: 5b10fa6e889dae746d5e9929dfc7015d1b627afa
URL: https://github.com/llvm/llvm-project/commit/5b10fa6e889dae746d5e9929dfc7015d1b627afa
DIFF: https://github.com/llvm/llvm-project/commit/5b10fa6e889dae746d5e9929dfc7015d1b627afa.diff
LOG: [Hexagon] Remove unused declaration getLocation
The unused declaration was introduced without a corresponding function
definition in:
commit f5d07a05bbd41f827ccfa1bed7bfdfbab2be85dc
Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
Date: Mon Sep 7 14:26:48 2020 -0500
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 3f4244e20f8e..03bc817c629b 100644
--- a/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
@@ -246,7 +246,6 @@ class AlignVectors {
};
Align getAlignFromValue(const Value *V) const;
- std::optional<MemoryLocation> getLocation(const Instruction &In) const;
std::optional<AddrInfo> getAddrInfo(Instruction &In) const;
bool isHvx(const AddrInfo &AI) const;
// This function is only used for assertions at the moment.
More information about the llvm-commits
mailing list