[Clang][CodeGen][RISCV] Fix hard float ABI for struct with empty struct and complex
authorLuís Marques <luismarques@lowrisc.org>
Mon, 7 Dec 2020 23:50:43 +0000 (23:50 +0000)
committerLuís Marques <luismarques@lowrisc.org>
Tue, 8 Dec 2020 09:19:05 +0000 (09:19 +0000)
commit3af354e863f553ef727967dfc091a64a11500aa5
treeb3bf7ce2d58e0207b0815efdc54082d29a7ca5ce
parentfa8f5bfa4e8cff042c9730320c74e97fab152ae1
[Clang][CodeGen][RISCV] Fix hard float ABI for struct with empty struct and complex

Fixes bug 44904.

Differential Revision: https://reviews.llvm.org/D91278
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGen/riscv32-ilp32d-abi.cpp