mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
This will hopefully fix a heisenbug that Vladimir Merzliakov is running
into valiantly trying to compile stuff on freebsd. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c08bc9a3da
commit
aee7940d53
@ -1166,6 +1166,7 @@ static void ConvertOperandToType(User *U, Value *OldVal, Value *NewVal,
|
||||
while (OldPN->getNumOperands()) {
|
||||
BasicBlock *BB = OldPN->getIncomingBlock(0);
|
||||
Value *OldVal = OldPN->getIncomingValue(0);
|
||||
ValueHandle OldValHandle(VMC, OldVal);
|
||||
OldPN->removeIncomingValue(BB, false);
|
||||
Value *V = ConvertExpressionToType(OldVal, NewTy, VMC, TD);
|
||||
NewPN->addIncoming(V, BB);
|
||||
|
Loading…
Reference in New Issue
Block a user