diff --git a/include/llvm/CodeGen/GlobalISel/GISelWorkList.h b/include/llvm/CodeGen/GlobalISel/GISelWorkList.h index d35d94fd065..167905dc9aa 100644 --- a/include/llvm/CodeGen/GlobalISel/GISelWorkList.h +++ b/include/llvm/CodeGen/GlobalISel/GISelWorkList.h @@ -16,6 +16,8 @@ namespace llvm { +class MachineInstr; + // Worklist which mostly works similar to InstCombineWorkList, but on MachineInstrs. // The main difference with something like a SetVector is that erasing an element doesn't // move all elements over one place - instead just nulls out the element of the vector.