Skip to content

Commit b7b609e

Browse files
committed
[AMDGPU][CodeGen] Add used analyses to SILowerWWMCopies
1 parent fe7cb15 commit b7b609e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Target/AMDGPU/SILowerWWMCopies.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class SILowerWWMCopies : public MachineFunctionPass {
4343
StringRef getPassName() const override { return "SI Lower WWM Copies"; }
4444

4545
void getAnalysisUsage(AnalysisUsage &AU) const override {
46+
AU.addUsedIfAvailable<LiveIntervalsWrapperPass>();
47+
AU.addUsedIfAvailable<SlotIndexesWrapperPass>();
48+
AU.addUsedIfAvailable<VirtRegMapWrapperLegacy>();
4649
AU.setPreservesAll();
4750
MachineFunctionPass::getAnalysisUsage(AU);
4851
}

0 commit comments

Comments
 (0)