OSDN Git Service

[IPO/ConstantMerge] Garbage collect dead code. NFC.
authorDavide Italiano <davide@freebsd.org>
Tue, 3 May 2016 21:30:10 +0000 (21:30 +0000)
committerDavide Italiano <davide@freebsd.org>
Tue, 3 May 2016 21:30:10 +0000 (21:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268442 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/ConstantMerge.cpp

index 87f35fd..80470a7 100644 (file)
@@ -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;