[clang] [CIR] Fold load from constant alloca slots (PR #212284)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 27 09:54:33 PDT 2026
================
@@ -0,0 +1,29 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -O1 -Wno-unused-value -fclangir -emit-cir %s -o %t.cir
+// RUN: FileCheck --input-file=%t.cir %s -check-prefix=CIR
----------------
erichkeane wrote:
Can we have a 'before' check as well? It would be nice to see the transformation happening here too.
https://github.com/llvm/llvm-project/pull/212284
More information about the cfe-commits
mailing list