llvm-for-llvmta/test/Analysis/alias-analysis-uses.ll

11 lines
363 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: opt -debug-pass=Executions -globals-aa -function-attrs -disable-output < %s -enable-new-pm=0 2>&1 | FileCheck %s
; CHECK: Executing Pass 'Globals Alias Analysis'
; CHECK-NOT: Freeing Pass 'Globals Alias Analysis'
; CHECK: Executing Pass 'Deduce function attributes'
; CHECK: Freeing Pass 'Globals Alias Analysis'
define void @test(i8* %p) {
ret void
}