diff options
| author | Weining Lu <luweining@loongson.cn> | 2023-07-25 08:58:41 +0800 |
|---|---|---|
| committer | Weining Lu <luweining@loongson.cn> | 2023-07-25 08:59:40 +0800 |
| commit | c299efbf284fae92bb8d7d29110f76912f089daf (patch) | |
| tree | b50421b32c05803bfe20d358b638be18f15212e8 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp | |
| parent | 669d2bbc837ee56d6bb05d5d55615246fc8b6b5c (diff) | |
| download | llvm-c299efbf284fae92bb8d7d29110f76912f089daf.zip llvm-c299efbf284fae92bb8d7d29110f76912f089daf.tar.gz llvm-c299efbf284fae92bb8d7d29110f76912f089daf.tar.bz2 | |
[Clang][LoongArch] Fix ABI handling of empty structs in C++ to match GCC behaviour
GCC doesn't ignore non-zero-length array of empty structures in C++
while clang does. What this patch did is to match GCC's behaviour
although this rule is not documented in psABI.
Similar to D142327 for RISCV.
Reviewed By: xry111, xen0n
Differential Revision: https://reviews.llvm.org/D156116
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
