[PATCH] D15458: Remove dead function AArch64TargetLowering::getFunctionAlignment. NFC.
Geoff Berry via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 14 09:04:27 PST 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL255509: Remove dead function AArch64TargetLowering::getFunctionAlignment. NFC. (authored by gberry).
Changed prior to commit:
http://reviews.llvm.org/D15458?vs=42543&id=42728#toc
Repository:
rL LLVM
http://reviews.llvm.org/D15458
Files:
llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.h
Index: llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -2338,11 +2338,6 @@
}
}
-/// getFunctionAlignment - Return the Log2 alignment of this function.
-unsigned AArch64TargetLowering::getFunctionAlignment(const Function *F) const {
- return 2;
-}
-
//===----------------------------------------------------------------------===//
// Calling Convention Implementation
//===----------------------------------------------------------------------===//
Index: llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.h
===================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.h
+++ llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.h
@@ -247,9 +247,6 @@
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15458.42728.patch
Type: text/x-patch
Size: 1310 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151214/b1b1c17b/attachment.bin>
More information about the llvm-commits
mailing list