[Hexagon] Remove unused declaration getLocation
authorKazu Hirata <kazu@google.com>
Wed, 17 May 2023 01:48:38 +0000 (18:48 -0700)
committerKazu Hirata <kazu@google.com>
Wed, 17 May 2023 01:48:38 +0000 (18:48 -0700)
The unused declaration was introduced without a corresponding function
definition in:

  commit f5d07a05bbd41f827ccfa1bed7bfdfbab2be85dc
  Author: Krzysztof Parzyszek <kparzysz@quicinc.com>
  Date:   Mon Sep 7 14:26:48 2020 -0500

llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp

index 3f4244e..03bc817 100644 (file)
@@ -246,7 +246,6 @@ private:
   };
 
   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.