[clang] [llvm] [Clang] Add `__builtin_stack_address` (PR #148281)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 5 05:12:30 PST 2026
================
@@ -0,0 +1,26 @@
+// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm %s -o - | llvm-cxxfilt | FileCheck %s --check-prefixes=COMMON,NO-OPT
+// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm %s -O3 -o - | llvm-cxxfilt | FileCheck %s --check-prefixes=COMMON,OPT
----------------
arsenm wrote:
Shouldn't be running optimizations in this test. Just stick to the IR emission. If you want to check the inlining behavior, add a separate pure-IR inliner test
https://github.com/llvm/llvm-project/pull/148281
More information about the cfe-commits
mailing list