We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba4babe commit 242d0c7Copy full SHA for 242d0c7
llvm/lib/CodeGen/SplitKit.cpp
@@ -1509,10 +1509,9 @@ void SplitEditor::forceRecomputeVNI(const VNInfo &ParentVNI) {
1509
}
1510
1511
// Trace value through phis.
1512
- SmallPtrSet<const VNInfo *, 8> Visited; ///< whether VNI was/is in worklist.
1513
- SmallVector<const VNInfo *, 4> WorkList;
1514
- Visited.insert(&ParentVNI);
1515
- WorkList.push_back(&ParentVNI);
+ ///< whether VNI was/is in worklist.
+ SmallPtrSet<const VNInfo *, 8> Visited = {&ParentVNI};
+ SmallVector<const VNInfo *, 4> WorkList = {&ParentVNI};
1516
1517
const LiveInterval &ParentLI = Edit->getParent();
1518
const SlotIndexes &Indexes = *LIS.getSlotIndexes();
0 commit comments