Make test more lenient for custom clang version strings
[llvm-project.git] / clang / test / CodeGen / PowerPC / ppc-full-reg-names.c
blob70ed14dbc32c6b877e2b2a3cb10a73e3410ba202
1 // REQUIRES: powerpc-registered-target
2 // RUN: %clang -### -target powerpc64le-unknown-linux-gnu -mcpu=pwr8 -mregnames \
3 // RUN: %s 2>&1 >/dev/null | FileCheck %s --check-prefix=FULLNAMES
4 // RUN: %clang -### -target powerpc64le-unknown-linux-gnu -mcpu=pwr8 -mno-regnames \
5 // RUN: %s 2>&1 >/dev/null | FileCheck %s --check-prefix=NOFULLNAMES
7 // FULLNAMES: -mregnames
8 // NOFULLNAMES-NOT: -mregnames