[llvm] MCExpr-ify SIProgramInfo (PR #88257)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu May 9 06:55:59 PDT 2024
================
@@ -7,6 +7,9 @@
//===----------------------------------------------------------------------===//
#include "AMDGPUMCExpr.h"
+#include "GCNSubtarget.h"
----------------
nico wrote:
This include is also questionable layering-wise. MCTargetDesc is supposed to be a small(ish) library independent of the main Target library, but now it includes GCNSubtarget.h from the main target library, which pulls in AMDGPURegisterBankInfo.h which includes generated headers.
https://github.com/llvm/llvm-project/pull/88257
More information about the llvm-commits
mailing list