Skip to content

Commit 1f56afa

Browse files
committed
[InlineSpiller] Fix missing LiveRegMatrix declaration. NFC.
b25b51e adds a reference to LiveRegMatrix in Spiller.h without including the header, or adding a declaration. That breaks modules builds. It looks like it might get reverted in #137801, but let's fix the breakage in the meantime.
1 parent 760bba4 commit 1f56afa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/CodeGen/Spiller.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class MachineFunctionPass;
2020
class VirtRegMap;
2121
class VirtRegAuxInfo;
2222
class LiveIntervals;
23+
class LiveRegMatrix;
2324
class LiveStacks;
2425
class MachineDominatorTree;
2526
class MachineBlockFrequencyInfo;

0 commit comments

Comments
 (0)