[llvm] r229316 - [ADCE] Fix capitalization of another local variable
Hal Finkel
hfinkel at anl.gov
Sun Feb 15 07:45:31 PST 2015
Author: hfinkel
Date: Sun Feb 15 09:45:30 2015
New Revision: 229316
URL: http://llvm.org/viewvc/llvm-project?rev=229316&view=rev
Log:
[ADCE] Fix capitalization of another local variable
Bring another local variable in compliance with our naming conventions, NFC.
Modified:
llvm/trunk/lib/Transforms/Scalar/ADCE.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/ADCE.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ADCE.cpp?rev=229316&r1=229315&r2=229316&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ADCE.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ADCE.cpp Sun Feb 15 09:45:30 2015
@@ -69,8 +69,8 @@ bool ADCE::runOnFunction(Function& F) {
// Propagate liveness backwards to operands.
while (!Worklist.empty()) {
- Instruction* curr = Worklist.pop_back_val();
- for (Instruction::op_iterator OI = curr->op_begin(), OE = curr->op_end();
+ Instruction* Curr = Worklist.pop_back_val();
+ for (Instruction::op_iterator OI = Curr->op_begin(), OE = Curr->op_end();
OI != OE; ++OI)
if (Instruction* Inst = dyn_cast<Instruction>(OI))
if (Alive.insert(Inst).second)
More information about the llvm-commits
mailing list