[clang] [clang] Fix underlying type of EmbedExpr (PR #99050)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 16 08:11:28 PDT 2024


================
@@ -13,9 +13,9 @@ int ca[] = {
 };
 
 // CHECK: %arrayinit.element = getelementptr inbounds i32, ptr %notca, i64 1
-// CHECK: store i8 106, ptr %arrayinit.element, align 4
+// CHECK: store i32 106, ptr %arrayinit.element, align 4
----------------
cor3ntin wrote:

I was trying to write a test case and found an unrelated embed crash https://compiler-explorer.com/z/bMWbGfh79 

can we add the test here https://github.com/llvm/llvm-project/pull/97274#issuecomment-2230410564 (with sizeof)



https://github.com/llvm/llvm-project/pull/99050


More information about the cfe-commits mailing list