Skip to content

Commit

Permalink
[NFC] Make a variable const
Browse files Browse the repository at this point in the history
llvm-svn: 344113
  • Loading branch information
Max Kazantsev committed Oct 10, 2018
1 parent ec527da commit 1d893bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Expand Up @@ -106,7 +106,7 @@ namespace {
/// Otherwise return null.
Value *SimplifyIndvar::foldIVUser(Instruction *UseInst, Instruction *IVOperand) {
Value *IVSrc = nullptr;
unsigned OperIdx = 0;
const unsigned OperIdx = 0;
const SCEV *FoldedExpr = nullptr;
switch (UseInst->getOpcode()) {
default:
Expand Down

0 comments on commit 1d893bf

Please sign in to comment.