[llvm] bafeb63 - [Hexagon] Remove unused declaration CanReturnSmallStruct (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 24 14:48:24 PDT 2022
Author: Kazu Hirata
Date: 2022-07-24T14:48:09-07:00
New Revision: bafeb63448659cca5a0a548494fa6873b9781ee8
URL: https://github.com/llvm/llvm-project/commit/bafeb63448659cca5a0a548494fa6873b9781ee8
DIFF: https://github.com/llvm/llvm-project/commit/bafeb63448659cca5a0a548494fa6873b9781ee8.diff
LOG: [Hexagon] Remove unused declaration CanReturnSmallStruct (NFC)
The declaration was introduced without a corresponding definition on
Dec 12, 2011 in commit 1213a7a57fdcb6c875b3f79103fc96d3e9d30b40.
Added:
Modified:
llvm/lib/Target/Hexagon/HexagonISelLowering.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/Hexagon/HexagonISelLowering.h b/llvm/lib/Target/Hexagon/HexagonISelLowering.h
index 9561dfe8a35d..1dc6a4cb9c89 100644
--- a/llvm/lib/Target/Hexagon/HexagonISelLowering.h
+++ b/llvm/lib/Target/Hexagon/HexagonISelLowering.h
@@ -107,9 +107,6 @@ class HexagonTargetLowering : public TargetLowering {
const HexagonTargetMachine &HTM;
const HexagonSubtarget &Subtarget;
- bool CanReturnSmallStruct(const Function* CalleeFn, unsigned& RetSize)
- const;
-
public:
explicit HexagonTargetLowering(const TargetMachine &TM,
const HexagonSubtarget &ST);
More information about the llvm-commits
mailing list