[all-commits] [llvm/llvm-project] ca93f9: [Clang][CodeGen][RISCV] Add hard float ABI tests w...

Luís Marques via All-commits all-commits at lists.llvm.org
Tue Dec 8 01:19:44 PST 2020


  Branch: refs/heads/push
  Home:   https://github.com/llvm/llvm-project
  Commit: ca93f9abdc0abc96ca8fb7999549a50aadd95caf
      https://github.com/llvm/llvm-project/commit/ca93f9abdc0abc96ca8fb7999549a50aadd95caf
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    A clang/test/CodeGen/riscv32-ilp32d-abi.cpp

  Log Message:
  -----------
  [Clang][CodeGen][RISCV] Add hard float ABI tests with empty struct

This patch adds tests that showcase a behavior that is currently buggy.
Fix in a follow-up patch.

Differential Revision: https://reviews.llvm.org/D91269


  Commit: fa8f5bfa4e8cff042c9730320c74e97fab152ae1
      https://github.com/llvm/llvm-project/commit/fa8f5bfa4e8cff042c9730320c74e97fab152ae1
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/test/CodeGen/riscv32-ilp32d-abi.cpp

  Log Message:
  -----------
  [Clang][CodeGen][RISCV] Fix hard float ABI test cases with empty struct

The code seemed not to account for the field 1 offset.

Differential Revision: https://reviews.llvm.org/D91270


  Commit: 3af354e863f553ef727967dfc091a64a11500aa5
      https://github.com/llvm/llvm-project/commit/3af354e863f553ef727967dfc091a64a11500aa5
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/test/CodeGen/riscv32-ilp32d-abi.cpp

  Log Message:
  -----------
  [Clang][CodeGen][RISCV] Fix hard float ABI for struct with empty struct and complex

Fixes bug 44904.

Differential Revision: https://reviews.llvm.org/D91278


Compare: https://github.com/llvm/llvm-project/compare/ca93f9abdc0a%5E...3af354e863f5


More information about the All-commits mailing list