Initial update to VMCore to use Twines for string arguments.

- The only meat here is in Value.{h,cpp} the rest is essential 'const
   std::string &' -> 'const Twine &'.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77048 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2009-07-25 04:41:11 +00:00
parent a66297af30
commit 6e0d1cb309
19 changed files with 392 additions and 276 deletions

View File

@@ -869,7 +869,8 @@ Value* GVNPRE::phi_translate(Value* V, BasicBlock* pred, BasicBlock* succ) {
newOp1, newOp2,
C->getName()+".expr");
else if (ExtractElementInst* E = dyn_cast<ExtractElementInst>(U))
newVal = ExtractElementInst::Create(newOp1, newOp2, E->getName()+".expr");
newVal = ExtractElementInst::Create(newOp1, newOp2,
E->getName()+".expr");
uint32_t v = VN.lookup_or_add(newVal);