summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-10-30 23:02:38 +0000
committerJustin Bogner <mail@justinbogner.com>2015-10-30 23:02:38 +0000
commit48f1f885e3a88fb196f6509ebb7e828bb84253b8 (patch)
tree632a94f86b9d3df23386210f4d4d879ddca5beb7
parent2275b4e61852c816001f5fbd786ba3311dd73504 (diff)
downloadbcm5719-llvm-48f1f885e3a88fb196f6509ebb7e828bb84253b8.tar.gz
bcm5719-llvm-48f1f885e3a88fb196f6509ebb7e828bb84253b8.zip
Whitespace. NFC
llvm-svn: 251724
-rw-r--r--llvm/include/llvm/InitializePasses.h2
-rw-r--r--llvm/lib/Transforms/IPO/IPO.cpp4
-rw-r--r--llvm/lib/Transforms/IPO/StripDeadPrototypes.cpp6
-rw-r--r--llvm/test/Transforms/ADCE/basictest.ll2
4 files changed, 6 insertions, 8 deletions
diff --git a/llvm/include/llvm/InitializePasses.h b/llvm/include/llvm/InitializePasses.h
index a33f69c7e4e..3c2160292d5 100644
--- a/llvm/include/llvm/InitializePasses.h
+++ b/llvm/include/llvm/InitializePasses.h
@@ -247,7 +247,7 @@ void initializeSCEVAAWrapperPassPass(PassRegistry&);
void initializeScalarEvolutionWrapperPassPass(PassRegistry&);
void initializeShrinkWrapPass(PassRegistry &);
void initializeSimpleInlinerPass(PassRegistry&);
-void initializeShadowStackGCLoweringPass(PassRegistry&);
+void initializeShadowStackGCLoweringPass(PassRegistry&);
void initializeRegisterCoalescerPass(PassRegistry&);
void initializeSingleLoopExtractorPass(PassRegistry&);
void initializeSinkingPass(PassRegistry&);
diff --git a/llvm/lib/Transforms/IPO/IPO.cpp b/llvm/lib/Transforms/IPO/IPO.cpp
index 6efa1193dc0..7ecc37710ed 100644
--- a/llvm/lib/Transforms/IPO/IPO.cpp
+++ b/llvm/lib/Transforms/IPO/IPO.cpp
@@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//
//
-// This file implements the common infrastructure (including C bindings) for
-// libLLVMIPO.a, which implements several transformations over the LLVM
+// This file implements the common infrastructure (including C bindings) for
+// libLLVMIPO.a, which implements several transformations over the LLVM
// intermediate representation.
//
//===----------------------------------------------------------------------===//
diff --git a/llvm/lib/Transforms/IPO/StripDeadPrototypes.cpp b/llvm/lib/Transforms/IPO/StripDeadPrototypes.cpp
index eba79218aed..22ba1c6c674 100644
--- a/llvm/lib/Transforms/IPO/StripDeadPrototypes.cpp
+++ b/llvm/lib/Transforms/IPO/StripDeadPrototypes.cpp
@@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
//
-// This pass loops over all of the functions in the input module, looking for
+// This pass loops over all of the functions in the input module, looking for
// dead declarations and removes them. Dead declarations are declarations of
// functions for which no implementation is available (i.e., declarations for
// unused library functions).
@@ -44,7 +44,7 @@ INITIALIZE_PASS(StripDeadPrototypesPass, "strip-dead-prototypes",
bool StripDeadPrototypesPass::runOnModule(Module &M) {
bool MadeChange = false;
-
+
// Erase dead function prototypes.
for (Module::iterator I = M.begin(), E = M.end(); I != E; ) {
Function *F = &*I++;
@@ -64,7 +64,7 @@ bool StripDeadPrototypesPass::runOnModule(Module &M) {
if (GV->isDeclaration() && GV->use_empty())
GV->eraseFromParent();
}
-
+
// Return an indication of whether we changed anything or not.
return MadeChange;
}
diff --git a/llvm/test/Transforms/ADCE/basictest.ll b/llvm/test/Transforms/ADCE/basictest.ll
index 378d70288f3..61c4224df97 100644
--- a/llvm/test/Transforms/ADCE/basictest.ll
+++ b/llvm/test/Transforms/ADCE/basictest.ll
@@ -15,5 +15,3 @@ BB4: ; preds = %BB1
%X = phi i32 [ %A, %BB1 ] ; <i32> [#uses=1]
br label %BB3
}
-
-
OpenPOWER on IntegriCloud