aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bytecode/Reader/BytecodeReader.cpp
diff options
context:
space:
mode:
authorWeining Lu <luweining@loongson.cn>2023-07-25 08:58:41 +0800
committerWeining Lu <luweining@loongson.cn>2023-07-25 08:59:40 +0800
commitc299efbf284fae92bb8d7d29110f76912f089daf (patch)
treeb50421b32c05803bfe20d358b638be18f15212e8 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp
parent669d2bbc837ee56d6bb05d5d55615246fc8b6b5c (diff)
downloadllvm-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