================
@@ -0,0 +1,10 @@
+// RUN: cir-opt %s --cir-to-llvm | FileCheck %s
+
+!u_empty = !cir.record<union {}>
----------------
andykaylor wrote:

Can you add a check for the LLVM IR type here? I think we're probably 
generating the wrong thing. In the incubator, we generate this:

`%union.U = type {}`

Whereas classic codegen generates this:

`%union.U = type { [4 x i8] }`


https://github.com/llvm/llvm-project/pull/172666
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to