[clang] [Clang] fix bad codegen from constexpr structured bindings (PR #186594)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 16 15:57:22 PDT 2026
================
@@ -0,0 +1,52 @@
+// RUN: %clang -std=c++26 -O3 -emit-llvm -S -target x86_64-unknown-linux-gnu -o - %s | FileCheck %s
----------------
efriedma-quic wrote:
Codegen tests should use clang_cc1. (This is partially historical, but it also avoid accidentally depending on various bits of driver behavior.)
We try to avoid using -O3 in clang codegen tests so that changes to LLVM IR optimizations don't affect the tests.
https://github.com/llvm/llvm-project/pull/186594
More information about the cfe-commits
mailing list