================ @@ -0,0 +1,78 @@ +// -fkeep-inline-functions has an effect without optimization, although it is +// primarily useful with optimization enabled. + +// RUN: %clang_cc1 -O2 -fkeep-inline-functions -emit-llvm %s -o - -triple x86_64-unknown-linux-gnu | FileCheck %s +// RUN: %clang_cc1 -O0 -fkeep-inline-functions -emit-llvm %s -o - -triple x86_64-unknown-linux-gnu | FileCheck %s +// RUN: %clang_cc1 -O2 -fkeep-inline-functions -emit-llvm %s -o - -triple powerpc64-ibm-aix-xcoff | FileCheck %s +// RUN: %clang_cc1 -O0 -fkeep-inline-functions -emit-llvm %s -o - -triple powerpc64-ibm-aix-xcoff | FileCheck %s ---------------- hubert-reinterpretcast wrote:
I think a non-Itanium ABI test (e.g., Microsoft ABI) would be more valuable than another `-O0` test variation. https://github.com/llvm/llvm-project/pull/218533 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
