1*9469ff15SLei Huang // RUN: %clang -target powerpc64-unknown-linux-gnu %s -### -mcpu=pwr10 -mprefixed -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-PREFIXED %s
2*9469ff15SLei Huang // RUN: %clang -target powerpc64-unknown-linux-gnu %s -### -mcpu=pwr10 -mno-prefixed -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOPREFIXED %s
3*9469ff15SLei Huang // CHECK-NOPREFIXED: "-target-feature" "-prefixed"
4*9469ff15SLei Huang // CHECK-PREFIXED: "-target-feature" "+prefixed"
5*9469ff15SLei Huang
6*9469ff15SLei Huang // RUN: %clang -target powerpc64-unknown-linux-gnu -mcpu=pwr10 -emit-llvm -S %s -o - | grep "attributes.*+prefix-instrs"
7*9469ff15SLei Huang // RUN: %clang -target powerpc64-unknown-linux-gnu -mcpu=pwr10 -mprefixed -emit-llvm -S %s -o - | grep "attributes.*+prefix-instrs"
8*9469ff15SLei Huang // RUN: %clang -target powerpc64-unknown-linux-gnu -mcpu=pwr10 -mno-prefixed -emit-llvm -S %s -o - | grep "attributes.*\-prefix-instrs"
9*9469ff15SLei Huang
main(int argc,char * argv[])10*9469ff15SLei Huang int main(int argc, char *argv[]) {
11*9469ff15SLei Huang return 0;
12*9469ff15SLei Huang }
13