[llvm-commits] [llvm] r168294 - /llvm/trunk/lib/CodeGen/Passes.cpp
Craig Topper
craig.topper at gmail.com
Sun Nov 18 16:11:50 PST 2012
Author: ctopper
Date: Sun Nov 18 18:11:50 2012
New Revision: 168294
URL: http://llvm.org/viewvc/llvm-project?rev=168294&view=rev
Log:
Move else onto line with preceding closing brace.
Modified:
llvm/trunk/lib/CodeGen/Passes.cpp
Modified: llvm/trunk/lib/CodeGen/Passes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/Passes.cpp?rev=168294&r1=168293&r2=168294&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/Passes.cpp (original)
+++ llvm/trunk/lib/CodeGen/Passes.cpp Sun Nov 18 18:11:50 2012
@@ -465,8 +465,7 @@
// Add passes that optimize machine instructions in SSA form.
if (getOptLevel() != CodeGenOpt::None) {
addMachineSSAOptimization();
- }
- else {
+ } else {
// If the target requests it, assign local variables to stack slots relative
// to one another and simplify frame index references where possible.
addPass(&LocalStackSlotAllocationID);
More information about the llvm-commits
mailing list