1 // RUN
: %clang --target
=amdgcn-amd-amdhsa -
### -S -O3 %s
2>&1 | FileCheck -check-prefix
=CHECKNONE %s
2 // RUN
: %clang --target
=amdgcn-amd-amdhsa -
### -S -O3 -fno-omit-frame-pointer %s
2>&1 | FileCheck -check-prefix
=CHECKALL %s
3 // RUN
: %clang --target
=amdgcn-amd-amdhsa -
### -S %s
2>&1 | FileCheck -check-prefix
=CHECKALL %s
4 // RUN
: %clang --target
=amdgcn-amd-amdhsa -
### -S -O0 %s
2>&1 | FileCheck -check-prefix
=CHECKALL %s
5 // RUN
: %clang --target
=amdgcn-amd-amdhsa -
### -S -cl-opt-disable %s
2>&1 | FileCheck -check-prefix
=CHECKALL %s
7 // CHECKNONE
: -mframe-pointer
=none
8 // CHECKALL
: -mframe-pointer
=all