diff --git a/src/compiler/cgir/pass/live_range_calc.cpp b/src/compiler/cgir/pass/live_range_calc.cpp index 8eae291f3..95b10c61c 100644 --- a/src/compiler/cgir/pass/live_range_calc.cpp +++ b/src/compiler/cgir/pass/live_range_calc.cpp @@ -270,7 +270,7 @@ bool CgLiveRangeCalc::findReachingDefs(CgLiveRange &LR, CgBasicBlock &UseMBB, LiveIn.clear(); FoundUndef |= (TheVNI == nullptr || TheVNI == &UndefVNI); - if (!Undefs.empty() && FoundUndef) + if (FoundUndef) UniqueVNI = false; // Both updateSSA() and CgLiveRangeUpdater benefit from ordered blocks, but