[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: AMDGPURegBankLegalize (PR #112864)

Nicolai Hähnle via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jan 6 01:41:21 PST 2025


================
@@ -9,7 +9,11 @@
 #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUGLOBALISELUTILS_H
 #define LLVM_LIB_TARGET_AMDGPU_AMDGPUGLOBALISELUTILS_H
 
+#include "AMDGPURegisterBankInfo.h"
+#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
 #include "llvm/ADT/DenseSet.h"
+#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"
+#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
----------------
nhaehnle wrote:

We should avoid unnecessary `#include`s in headers (for compile time reason). I doubt that all of these are really needed.

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


More information about the llvm-branch-commits mailing list