Remove dead function AArch64TargetLowering::getFunctionAlignment. NFC.
authorGeoff Berry <gberry@codeaurora.org>
Mon, 14 Dec 2015 17:01:10 +0000 (17:01 +0000)
committerGeoff Berry <gberry@codeaurora.org>
Mon, 14 Dec 2015 17:01:10 +0000 (17:01 +0000)
Reviewers: t.p.northover, jmolloy, mcrosier

Subscribers: aemerson, rengolin, llvm-commits

Differential Revision: http://reviews.llvm.org/D15458

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255509 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64ISelLowering.h

index f9af05e84d24a43ca9b4a513c0339b313d9fb0a9..4fe8565a06c84facc68e13c57fa927f07f57bd56 100644 (file)
@@ -2338,11 +2338,6 @@ SDValue AArch64TargetLowering::LowerOperation(SDValue Op,
   }
 }
 
-/// getFunctionAlignment - Return the Log2 alignment of this function.
-unsigned AArch64TargetLowering::getFunctionAlignment(const Function *F) const {
-  return 2;
-}
-
 //===----------------------------------------------------------------------===//
 //                      Calling Convention Implementation
 //===----------------------------------------------------------------------===//
index c8d9ca3ef07ecfe7e904e5ee674ec598d324e19b..51a3fee47917c4874d850d77d70755d279facc4b 100644 (file)
@@ -247,9 +247,6 @@ public:
 
   SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const override;
 
-  /// Return the Log2 alignment of this function.
-  unsigned getFunctionAlignment(const Function *F) const;
-
   /// Returns true if a cast between SrcAS and DestAS is a noop.
   bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override {
     // Addrspacecasts are always noops.