2020-12-29 05:07:46 +08:00
|
|
|
; RUN: opt -mtriple=amdgcn--amdhsa -disable-output -disable-verify -debug-pass=Structure -O2 %s -enable-new-pm=0 2>&1 | FileCheck -check-prefix=LPM %s
|
|
|
|
; RUN: opt -mtriple=amdgcn--amdhsa -disable-output -disable-verify -debug-pass-manager -passes='default<O2>' %s 2>&1 | FileCheck -check-prefix=NPM %s
|
2017-06-20 07:17:36 +08:00
|
|
|
|
2020-12-29 05:07:46 +08:00
|
|
|
; LPM: Function Integration/Inlining
|
|
|
|
; LPM: FunctionPass Manager
|
|
|
|
; LPM: Infer address spaces
|
|
|
|
; LPM: SROA
|
|
|
|
|
|
|
|
; NPM: Running pass: InlinerPass
|
|
|
|
; NPM: Running pass: InferAddressSpacesPass
|
|
|
|
; NPM: Running pass: SROA
|
2017-06-20 07:17:36 +08:00
|
|
|
|
|
|
|
define void @empty() {
|
|
|
|
ret void
|
|
|
|
}
|