xref: /llvm-project/llvm/test/Analysis/LazyCallGraph/invalidate.ll (revision 259390de9af659e2432c5b2af041ec6576c1b26d)
1; Make sure we invalidate lcg even when preserving domtree
2; RUN: opt -passes='require<lcg>,function(instcombine)' -debug-pass-manager -disable-output < %s 2>&1 | FileCheck %s
3
4; CHECK: Invalidating {{.*}} LazyCallGraphAnalysis
5
6define void @f() {
7lbl:
8  %a = add i32 1, 2
9  unreachable
10}
11