[llvm] [Modules] Add missing headers to fix the modular build. (PR #110924)

Volodymyr Sapsai via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 13:33:43 PDT 2024


https://github.com/vsapsai created https://github.com/llvm/llvm-project/pull/110924

None

>From c61c4d77fd0eab18577553bf31dab465a53bbe8b Mon Sep 17 00:00:00 2001
From: Volodymyr Sapsai <vsapsai at apple.com>
Date: Wed, 2 Oct 2024 13:32:43 -0700
Subject: [PATCH] [Modules] Add missing headers to fix the modular build.

---
 llvm/include/llvm/CodeGen/Spiller.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/llvm/include/llvm/CodeGen/Spiller.h b/llvm/include/llvm/CodeGen/Spiller.h
index 4568cdfab86288..51ad36bc6b1f8b 100644
--- a/llvm/include/llvm/CodeGen/Spiller.h
+++ b/llvm/include/llvm/CodeGen/Spiller.h
@@ -9,6 +9,9 @@
 #ifndef LLVM_CODEGEN_SPILLER_H
 #define LLVM_CODEGEN_SPILLER_H
 
+#include "llvm/ADT/ArrayRef.h"
+#include "llvm/CodeGen/Register.h"
+
 namespace llvm {
 
 class LiveRangeEdit;



More information about the llvm-commits mailing list