[all-commits] [llvm/llvm-project] 0dbb38: [[CIR]] Implement 'to-union' cast. (#191485)
Erich Keane via All-commits
all-commits at lists.llvm.org
Mon Apr 13 13:33:08 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0dbb38adf9afca4f9571e771e30ac24b370b12eb
https://github.com/llvm/llvm-project/commit/0dbb38adf9afca4f9571e771e30ac24b370b12eb
Author: Erich Keane <ekeane at nvidia.com>
Date: 2026-04-13 (Mon, 13 Apr 2026)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
M clang/lib/CIR/CodeGen/CIRGenExprAggregate.cpp
A clang/test/CIR/CodeGen/cast.c
Log Message:
-----------
[[CIR]] Implement 'to-union' cast. (#191485)
This ends up being pretty trivial/can only really happen in 2 ways, the
only useful way is via an extension. This patch implements this.
This doesn't really affect anything as it is a pretty rarely used
feature and thus doesn't appear in the test suite I've seen, but I saw
it while investigating something else.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list