diff options
author | David Tenty <daltenty@ibm.com> | 2022-01-28 10:47:23 -0500 |
---|---|---|
committer | David Tenty <daltenty@ibm.com> | 2022-01-28 11:18:55 -0500 |
commit | 9939bb6682128235c9f0f6076d15ae5191d2dd05 (patch) | |
tree | e10a2f4e1b7f07b035b846a0cd4b6cb01a0fe81b /clang | |
parent | b414954a5f1c2f8f6adecf20e5a433dfbc320cc2 (diff) | |
download | llvm-9939bb6682128235c9f0f6076d15ae5191d2dd05.zip llvm-9939bb6682128235c9f0f6076d15ae5191d2dd05.tar.gz llvm-9939bb6682128235c9f0f6076d15ae5191d2dd05.tar.bz2 |
[NFC][AIX][clang] un-XFAIL gcc profile flag compat test
We can pass this test now thanks to recent changes that allow us to use PGO without LTO, so un-XFAIL the test and update the comments.
Differential Revision: https://reviews.llvm.org/D118474
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/Profile/gcc-flag-compatibility-aix.c | 3 | ||||
-rw-r--r-- | clang/test/Profile/gcc-flag-compatibility.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Profile/gcc-flag-compatibility-aix.c b/clang/test/Profile/gcc-flag-compatibility-aix.c index ead654d..db12e05 100644 --- a/clang/test/Profile/gcc-flag-compatibility-aix.c +++ b/clang/test/Profile/gcc-flag-compatibility-aix.c @@ -7,7 +7,8 @@ // -fprofile-use=<dir> Uses the profile file <dir>/default.profdata // -fprofile-use=<dir>/file Uses the profile file <dir>/file -// On AIX, -flto is required with -fprofile-generate +// On AIX, -flto used to be required with -fprofile-generate, so test those +// extra cases. // RUN: %clang %s -c -S -o - -emit-llvm -target powerpc64-unknown-aix -flto -fprofile-generate | FileCheck -check-prefix=PROFILE-GEN %s // PROFILE-GEN: @__profc_main = {{(private|internal)}} global [2 x i64] zeroinitializer, section diff --git a/clang/test/Profile/gcc-flag-compatibility.c b/clang/test/Profile/gcc-flag-compatibility.c index cdec997..9f83117 100644 --- a/clang/test/Profile/gcc-flag-compatibility.c +++ b/clang/test/Profile/gcc-flag-compatibility.c @@ -7,8 +7,7 @@ // -fprofile-use=<dir> Uses the profile file <dir>/default.profdata // -fprofile-use=<dir>/file Uses the profile file <dir>/file -// On AIX, -flto is required with -fprofile-generate. gcc-flag-compatibility-aix.c is used to do the testing on AIX with -flto -// XFAIL: aix +// On AIX, -flto used to be required with -fprofile-generate. gcc-flag-compatibility-aix.c is used to do the testing on AIX with -flto // RUN: %clang %s -c -S -o - -emit-llvm -fprofile-generate | FileCheck -check-prefix=PROFILE-GEN %s // PROFILE-GEN: @__profc_main = {{(private|internal)}} global [2 x i64] zeroinitializer, section // PROFILE-GEN: @__profd_main = |