[llvm] [BranchFolding] Kill common hoisted debug instructions (PR #140091)

Stephen Tozer via llvm-commits llvm-commits at lists.llvm.org
Wed May 21 11:06:22 PDT 2025


================
@@ -25,6 +25,7 @@
 #include "llvm/Analysis/ProfileSummaryInfo.h"
 #include "llvm/CodeGen/Analysis.h"
 #include "llvm/CodeGen/BranchFoldingPass.h"
+#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
----------------
SLTozer wrote:

Use of a GlobalISel class here - the post-ISel choice I think should be `MachineInstrBuilder.h`

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


More information about the llvm-commits mailing list