aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Analysis/LazyCallGraph/invalidate.ll
blob: b2f421086d3cf866b4cb1d5b78d2ff9f76cbeba0 (plain)
1
2
3
4
5
6
7
8
9
10
; Make sure we invalidate lcg even when preserving domtree
; RUN: opt -passes='require<lcg>,function(instcombine)' -debug-pass-manager -disable-output < %s 2>&1 | FileCheck %s

; CHECK: Invalidating {{.*}} LazyCallGraphAnalysis

define void @f() {
lbl:
  %a = add i32 1, 2
  unreachable
}