Unverified Commit 4253fdc2 authored by Lu Weining's avatar Lu Weining Committed by GitHub
Browse files

[LoongArch] Fix ABI mismatch with g++ when handling empty unions (#71025)

In g++, empty unions are not ignored like empty structs when flattening
structs to examine whether the structs can be passed via FARs in C++.
This patch aligns clang++ with g++.

Fix https://github.com/llvm/llvm-project/issues/70890.
parent 2d460f25
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment