mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Speculatively revert 112699 and 112702, they seem to be causing
self host errors on clang-x86-64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112719 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1526,7 +1526,7 @@ bool JumpThreading::ThreadEdge(BasicBlock *BB,
|
||||
// We found a use of I outside of BB. Rename all uses of I that are outside
|
||||
// its block to be uses of the appropriate PHI node etc. See ValuesInBlocks
|
||||
// with the two values we know.
|
||||
SSAUpdate.Initialize(I->getType(), I->getName());
|
||||
SSAUpdate.Initialize(I);
|
||||
SSAUpdate.AddAvailableValue(BB, I);
|
||||
SSAUpdate.AddAvailableValue(NewBB, ValueMapping[I]);
|
||||
|
||||
@ -1681,7 +1681,7 @@ bool JumpThreading::DuplicateCondBranchOnPHIIntoPred(BasicBlock *BB,
|
||||
// We found a use of I outside of BB. Rename all uses of I that are outside
|
||||
// its block to be uses of the appropriate PHI node etc. See ValuesInBlocks
|
||||
// with the two values we know.
|
||||
SSAUpdate.Initialize(I->getType(), I->getName());
|
||||
SSAUpdate.Initialize(I);
|
||||
SSAUpdate.AddAvailableValue(BB, I);
|
||||
SSAUpdate.AddAvailableValue(PredBB, ValueMapping[I]);
|
||||
|
||||
|
Reference in New Issue
Block a user