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