brintos

brintos / llvm-project-archived public Read only

0
0
Text · 576 B · d34c97a Raw
11 lines · c
1// RUN: %clang_cc1 -triple powerpc64-ibm-aix -emit-llvm -o - %s -msave-reg-params | FileCheck -check-prefix=SAVE %s2// RUN: %clang_cc1 -triple powerpc-ibm-aix -emit-llvm -o - %s -msave-reg-params | FileCheck -check-prefix=SAVE %s3// RUN: %clang_cc1 -triple powerpc64-ibm-aix -emit-llvm -o - %s | FileCheck -check-prefix=NOSAVE %s4// RUN: %clang_cc1 -triple powerpc-ibm-aix -emit-llvm -o - %s | FileCheck -check-prefix=NOSAVE %s5 6void bar(int);7void foo(int x) { bar(x); }8 9// SAVE: attributes #{{[0-9]+}} = { {{.+}} "save-reg-params" {{.+}} }10// NOSAVE-NOT: "save-reg-params"11