mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
73f39e529d
-debug-pass is a legacy PM only option. Some tests checks that the pass returned that it made a change, which is not relevant to the NPM, since passes return PreservedAnalyses. Some tests check that passes are freed at the proper time, which is also not relevant to the NPM. Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D87945
11 lines
363 B
LLVM
11 lines
363 B
LLVM
; 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
|
|
}
|