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

Luís Marques via All-commits all-commits at lists.llvm.org
Wed Dec 9 08:04:45 PST 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: ba223fa19d35d41ad9eeade8978ab1a17d6aafe1
      https://github.com/llvm/llvm-project/commit/ba223fa19d35d41ad9eeade8978ab1a17d6aafe1
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2020-12-09 (Wed, 09 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

(cherry picked from commit ca93f9abdc0abc96ca8fb7999549a50aadd95caf)


  Commit: a4eaecf122e1abbc5bc0f2478e80c6bb7da67cb0
      https://github.com/llvm/llvm-project/commit/a4eaecf122e1abbc5bc0f2478e80c6bb7da67cb0
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2020-12-09 (Wed, 09 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

(cherry picked from commit fa8f5bfa4e8cff042c9730320c74e97fab152ae1)


  Commit: b430f94d005276c8588b86dde7759be37a7a3420
      https://github.com/llvm/llvm-project/commit/b430f94d005276c8588b86dde7759be37a7a3420
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2020-12-09 (Wed, 09 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

(cherry picked from commit 3af354e863f553ef727967dfc091a64a11500aa5)


Compare: https://github.com/llvm/llvm-project/compare/edc57e7e7ca2...b430f94d0052


More information about the All-commits mailing list