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

via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 13:34:17 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-regalloc

Author: Volodymyr Sapsai (vsapsai)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/110924.diff


1 Files Affected:

- (modified) llvm/include/llvm/CodeGen/Spiller.h (+3) 


``````````diff
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;

``````````

</details>


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


More information about the llvm-commits mailing list