[PATCH] D40023: [RISCV] Implement ABI lowering

David Majnemer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 23 00:27:31 PST 2017


majnemer added a comment.

So how does something like the following work:

  union U { float f; int i; };
  void f(union U u);

The flattening described in https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md#hardware-floating-point-calling-convention makes sense for arrays and structs but I couldn't find where unions were described.


https://reviews.llvm.org/D40023





More information about the cfe-commits mailing list