Skip to content

Commit 9462634

Browse files
ahmedbougachaGeorgeARM
authored andcommitted
[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 llvm#137801, but let's fix the breakage in the meantime.
1 parent 920465d commit 9462634

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)