[clang] [llvm] [clang][Inliner] Add opt-in inliner hints and implementation-file functions (PR #228074)
Kuba Mracek via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 31 15:28:29 PDT 2026
================
@@ -0,0 +1,63 @@
+// RUN: rm -rf %t
+// RUN: split-file %s %t
+// RUN: %clang_cc1 -triple arm64-apple-macosx14.0.0 -std=c++20 -emit-llvm -fmodule-local-hints -o %t/on.ll %t/main.cpp
+// RUN: FileCheck %s --check-prefix=INL < %t/on.ll
+// RUN: FileCheck %s --check-prefix=TMPL < %t/on.ll
+// RUN: FileCheck %s --check-prefix=LAMBDA < %t/on.ll
+// RUN: FileCheck %s --check-prefix=MEMBER < %t/on.ll
+// RUN: FileCheck %s --check-prefix=PLAIN < %t/on.ll
+// RUN: FileCheck %s --check-prefix=HDR < %t/on.ll
+// RUN: FileCheck %s --check-prefix=HDRTMPL < %t/on.ll
+// RUN: %clang_cc1 -triple arm64-apple-macosx14.0.0 -std=c++20 -emit-llvm -o - %t/main.cpp | FileCheck %s --check-prefix=OFF
----------------
kubamracek wrote:
Added
https://github.com/llvm/llvm-project/pull/228074
More information about the cfe-commits
mailing list