From c5677ed9f14305a0559530a0eea45694ebd71e9b Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Fri, 30 Oct 2015 23:02:38 +0000 Subject: [PATCH] Whitespace. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251724 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/InitializePasses.h | 2 +- lib/Transforms/IPO/IPO.cpp | 4 ++-- lib/Transforms/IPO/StripDeadPrototypes.cpp | 6 +++--- test/Transforms/ADCE/basictest.ll | 2 -- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/include/llvm/InitializePasses.h b/include/llvm/InitializePasses.h index a33f69c7e4e..3c2160292d5 100644 --- a/include/llvm/InitializePasses.h +++ b/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/lib/Transforms/IPO/IPO.cpp b/lib/Transforms/IPO/IPO.cpp index 6efa1193dc0..7ecc37710ed 100644 --- a/lib/Transforms/IPO/IPO.cpp +++ b/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/lib/Transforms/IPO/StripDeadPrototypes.cpp b/lib/Transforms/IPO/StripDeadPrototypes.cpp index eba79218aed..22ba1c6c674 100644 --- a/lib/Transforms/IPO/StripDeadPrototypes.cpp +++ b/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/test/Transforms/ADCE/basictest.ll b/test/Transforms/ADCE/basictest.ll index 378d70288f3..61c4224df97 100644 --- a/test/Transforms/ADCE/basictest.ll +++ b/test/Transforms/ADCE/basictest.ll @@ -15,5 +15,3 @@ BB4: ; preds = %BB1 %X = phi i32 [ %A, %BB1 ] ; [#uses=1] br label %BB3 } - - -- 2.34.1