]> granicus.if.org Git - llvm/commitdiff
Minor code cleanups. NFC.
authorJunmo Park <junmoz.park@samsung.com>
Sun, 8 May 2016 23:22:58 +0000 (23:22 +0000)
committerJunmo Park <junmoz.park@samsung.com>
Sun, 8 May 2016 23:22:58 +0000 (23:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268888 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/ValueMapper.cpp

index f44e79fba60a814e6815067c9f3e8322da3776cd..272891fc16ae74f65b1308b03357d26097a37e30 100644 (file)
@@ -444,7 +444,7 @@ Value *Mapper::mapValue(const Value *V) {
     Mapped = mapValue(Op);
     if (Mapped != C) break;
   }
-  
+
   // See if the type mapper wants to remap the type as well.
   Type *NewTy = C->getType();
   if (TypeMapper)
@@ -461,11 +461,11 @@ Value *Mapper::mapValue(const Value *V) {
   Ops.reserve(NumOperands);
   for (unsigned j = 0; j != OpNo; ++j)
     Ops.push_back(cast<Constant>(C->getOperand(j)));
-  
+
   // If one of the operands mismatch, push it and the other mapped operands.
   if (OpNo != NumOperands) {
     Ops.push_back(cast<Constant>(Mapped));
-  
+
     // Map the rest of the operands that aren't processed yet.
     for (++OpNo; OpNo != NumOperands; ++OpNo)
       Ops.push_back(cast<Constant>(mapValue(C->getOperand(OpNo))));