[llvm] [BlockExtractor] Invalidate analyses after splitting landing pads (PR #217853)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 06:01:09 PDT 2026


================
@@ -0,0 +1,33 @@
+; RUN: opt -passes='function(require<domtree>),extract-blocks,function(require<domtree>)' -debug-pass-manager -disable-output %s 2>&1 | FileCheck %s
+; RUN: opt -passes='function(require<domtree>),extract-blocks,function(verify<domtree>)' -disable-output %s
+
+; The landing pad split runs even with an empty block list, so the CFG changes.
----------------
boomanaiden154 wrote:

Add a second sentence to the tune of `Ensure that we properly invalidate analyses.` or something like that.

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


More information about the llvm-commits mailing list