[llvm] r268442 - [IPO/ConstantMerge] Garbage collect dead code. NFC.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 14:30:10 PDT 2016
Author: davide
Date: Tue May 3 16:30:10 2016
New Revision: 268442
URL: http://llvm.org/viewvc/llvm-project?rev=268442&view=rev
Log:
[IPO/ConstantMerge] Garbage collect dead code. NFC.
Modified:
llvm/trunk/lib/Transforms/IPO/ConstantMerge.cpp
Modified: llvm/trunk/lib/Transforms/IPO/ConstantMerge.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/ConstantMerge.cpp?rev=268442&r1=268441&r2=268442&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/ConstantMerge.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/ConstantMerge.cpp Tue May 3 16:30:10 2016
@@ -45,9 +45,6 @@ namespace {
// duplicate constants.
bool runOnModule(Module &M) override;
- // Return true iff we can determine the alignment of this global variable.
- bool hasKnownAlignment(GlobalVariable *GV) const;
-
// Return the alignment of the global, including converting the default
// alignment to a concrete value.
unsigned getAlignment(GlobalVariable *GV) const;
More information about the llvm-commits
mailing list