aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-06-21 05:10:24 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-06-21 05:10:24 +0000
commite61e4bfd8759061ede657a43e630c69d677b44fd (patch)
tree822c4f01c8b7b560925fe36cb70310ed62209350 /llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
parent73575c4d5ee20081768a0876f8bdfb922f09324f (diff)
downloadllvm-e61e4bfd8759061ede657a43e630c69d677b44fd.zip
llvm-e61e4bfd8759061ede657a43e630c69d677b44fd.tar.gz
llvm-e61e4bfd8759061ede657a43e630c69d677b44fd.tar.bz2
Replace silly uses of 'signed' with 'int'
llvm-svn: 273244
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstructionCombining.cpp')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstructionCombining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
index 9e97d7b..e23b70a 100644
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -1398,7 +1398,7 @@ Instruction *InstCombiner::visitGetElementPtrInst(GetElementPtrInst &GEP) {
if (Op1 == &GEP)
return nullptr;
- signed DI = -1;
+ int DI = -1;
for (auto I = PN->op_begin()+1, E = PN->op_end(); I !=E; ++I) {
GetElementPtrInst *Op2 = dyn_cast<GetElementPtrInst>(*I);