mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Fix test failures causes by my previous commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63492 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5caedc0f09
commit
4a6d13e8fb
@ -486,6 +486,7 @@ VNInfo* PreAllocSplitting::PerformPHIConstruction(
|
||||
|
||||
if (MBB->pred_size() == 1 && !ret->hasPHIKill) {
|
||||
LI->MergeValueNumberInto(ret, IncomingVNs.begin()->second);
|
||||
Phis[MBB] = ret = IncomingVNs.begin()->second;
|
||||
} else {
|
||||
// Otherwise, merge the incoming VNInfos with a phi join. Create a new
|
||||
// VNInfo to represent the joined value.
|
||||
|
Loading…
Reference in New Issue
Block a user