[llvm] r349193 - Add missing includes and forward decls to unbreak build

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 14 13:58:41 PST 2018


Thanks. I just got a bug report about this from an out of tree target and went to fix it but you beat me to it.

Out of curiosity, was it one of the LLVM bots that noticed this? I haven't seen it in any of the mail I got from the bots.

> On 14 Dec 2018, at 21:04, Eric Fiselier via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> Author: ericwf
> Date: Fri Dec 14 13:04:00 2018
> New Revision: 349193
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=349193&view=rev
> Log:
> Add missing includes and forward decls to unbreak build
> 
> Modified:
>    llvm/trunk/include/llvm/CodeGen/GlobalISel/GISelWorkList.h
> 
> Modified: llvm/trunk/include/llvm/CodeGen/GlobalISel/GISelWorkList.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/GlobalISel/GISelWorkList.h?rev=349193&r1=349192&r2=349193&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/CodeGen/GlobalISel/GISelWorkList.h (original)
> +++ llvm/trunk/include/llvm/CodeGen/GlobalISel/GISelWorkList.h Fri Dec 14 13:04:00 2018
> @@ -12,11 +12,13 @@
> 
> #include "llvm/ADT/DenseMap.h"
> #include "llvm/ADT/SmallVector.h"
> +#include "llvm/CodeGen/MachineBasicBlock.h"
> +#include "llvm/CodeGen/MachineInstr.h"
> #include "llvm/Support/Debug.h"
> 
> namespace llvm {
> 
> -class MachineInstr;
> +class MachineFunction;
> 
> // Worklist which mostly works similar to InstCombineWorkList, but on
> // MachineInstrs. The main difference with something like a SetVector is that
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list