[llvm] [RISCV] Order stack objects by access density (PR #217507)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 20:04:32 PDT 2026


================
@@ -15,6 +15,8 @@
 #include "MCTargetDesc/RISCVMCTargetDesc.h"
 #include "RISCVMachineFunctionInfo.h"
 #include "RISCVSubtarget.h"
+#include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/STLExtras.h"
----------------
wangpc-pp wrote:

Usually we don't need to include these two headers because they are included elsewhere indirectly, can you try to remove them if possible?

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


More information about the llvm-commits mailing list