aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-02-15 15:45:30 +0000
committerHal Finkel <hfinkel@anl.gov>2015-02-15 15:45:30 +0000
commit234d8fea7b46fbf0b7723e34cb9028bcc4ee9dfb (patch)
tree189821444de6bf8e31c794c8602da2e8b51e2025 /llvm/lib
parent75901293a10a373e7b80500aa2c6d2d25084f293 (diff)
downloadllvm-234d8fea7b46fbf0b7723e34cb9028bcc4ee9dfb.zip
llvm-234d8fea7b46fbf0b7723e34cb9028bcc4ee9dfb.tar.gz
llvm-234d8fea7b46fbf0b7723e34cb9028bcc4ee9dfb.tar.bz2
[ADCE] Fix capitalization of another local variable
Bring another local variable in compliance with our naming conventions, NFC. llvm-svn: 229316
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Scalar/ADCE.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/ADCE.cpp b/llvm/lib/Transforms/Scalar/ADCE.cpp
index ffab8d5..4a00321 100644
--- a/llvm/lib/Transforms/Scalar/ADCE.cpp
+++ b/llvm/lib/Transforms/Scalar/ADCE.cpp
@@ -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)