mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user