[llvm] [GVN] Improve processBlock for instruction erasure (PR #131753)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 11 06:00:42 PDT 2025


================
@@ -25,6 +25,8 @@
 #include "llvm/IR/ValueHandle.h"
 #include "llvm/Support/Allocator.h"
 #include "llvm/Support/Compiler.h"
+#include "llvm/Transforms/Utils/AssumeBundleBuilder.h"
----------------
nikic wrote:

IMHO it would be better to move the definition of doInstructionDeletion to the source file. There's no need to have it in the header.

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


More information about the llvm-commits mailing list