[llvm] [CodeGen] Preserved additional analyses in StackSlotColoring pass. (PR #93779)

Vikash Gupta via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 04:14:35 PDT 2024


================
@@ -13,6 +13,7 @@
 #include "llvm/ADT/BitVector.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/Statistic.h"
+#include "llvm/CodeGen/LiveDebugVariables.h"
----------------
vg0204 wrote:

For that, "char &llvm::passID = pass::ID", need to be added in the respective pass (not presently there in LiveDebugVariables.cpp), followed by exposing it via extern in Passes.h. So, I think this is better option, 

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


More information about the llvm-commits mailing list