[clang] [mlir] [CIR] Honor the Direct coercion offset in x86_64 callconv lowering (PR #220724)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 8 09:46:34 PDT 2026
================
@@ -44,9 +41,17 @@ struct s3_0 {};
struct s3_1 { struct s3_0 a; long b; };
void f3(struct s3_1 x) {}
+// The empty member owns eightbyte 0, so the live long is the second eightbyte
+// and the coercion starts at byte 8.
// CIR-LABEL: cir.func {{.*}} @_Z2f34s3_1
----------------
andykaylor wrote:
CIR checks?
https://github.com/llvm/llvm-project/pull/220724
More information about the cfe-commits
mailing list