Change "tmp." to "tmp" for temporaries created by ScalarEvolutionExpander
authorDan Gohman <gohman@apple.com>
Fri, 14 Sep 2007 20:11:40 +0000 (20:11 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 14 Sep 2007 20:11:40 +0000 (20:11 +0000)
for consistency with many other transforms.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41957 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolutionExpander.cpp

index e65dac71fcf9515741aca5f49e9dfa9e12eec678..fc52fb70ff7baa90e450ce1a555aea80c60c322b 100644 (file)
@@ -94,7 +94,7 @@ Value *SCEVExpander::InsertBinop(Instruction::BinaryOps Opcode, Value *LHS,
   }
 
   // If we don't have 
-  return BinaryOperator::create(Opcode, LHS, RHS, "tmp.", InsertPt);
+  return BinaryOperator::create(Opcode, LHS, RHS, "tmp", InsertPt);
 }
 
 Value *SCEVExpander::visitMulExpr(SCEVMulExpr *S) {