mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
6a52d86d30
And add it to the AMDGPU opt pipeline. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D93880
16 lines
548 B
LLVM
16 lines
548 B
LLVM
; 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
|
|
|
|
; 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
|
|
|
|
define void @empty() {
|
|
ret void
|
|
}
|