Revert "[lldb][test] Remove compiler version check and use regex" (#124101)
[llvm-project.git] / clang / test / CodeGen / PowerPC / save-reg-params.c
blobd34c97a8fc45ff530c8ca61c62841e40f6effc3a
1 // RUN: %clang_cc1 -triple powerpc64-ibm-aix -emit-llvm -o - %s -msave-reg-params | FileCheck -check-prefix=SAVE %s
2 // RUN: %clang_cc1 -triple powerpc-ibm-aix -emit-llvm -o - %s -msave-reg-params | FileCheck -check-prefix=SAVE %s
3 // RUN: %clang_cc1 -triple powerpc64-ibm-aix -emit-llvm -o - %s | FileCheck -check-prefix=NOSAVE %s
4 // RUN: %clang_cc1 -triple powerpc-ibm-aix -emit-llvm -o - %s | FileCheck -check-prefix=NOSAVE %s
6 void bar(int);
7 void foo(int x) { bar(x); }
9 // SAVE: attributes #{{[0-9]+}} = { {{.+}} "save-reg-params" {{.+}} }
10 // NOSAVE-NOT: "save-reg-params"