[all-commits] [llvm/llvm-project] a975e6: [PowerPC] Extend and update the test for `half` su...

Trevor Gross via All-commits all-commits at lists.llvm.org
Wed Sep 10 02:03:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a975e64239ec30e000fb254bc21f526161a97dcd
      https://github.com/llvm/llvm-project/commit/a975e64239ec30e000fb254bc21f526161a97dcd
  Author: Trevor Gross <tmgross at umich.edu>
  Date:   2025-09-10 (Wed, 10 Sep 2025)

  Changed paths:
    A llvm/test/CodeGen/PowerPC/half.ll
    R llvm/test/CodeGen/PowerPC/handle-f16-storage-type.ll

  Log Message:
  -----------
  [PowerPC] Extend and update the test for `half` support (NFC) (#152625)

`f16` is more functional than just a storage type on the platform,
though it does have some codegen issues [1]. To prepare for future
changes, do the following nonfunctional updates to the existing `half`
test:

* Add tests for passing and returning the type directly.
* Add tests showing bitcast behavior, which is currently incorrect but
serves as a baseline.
* Add tests for `fabs` and `copysign` (trivial operations that shouldn't
require libcalls).
* Add invocations for big-endian and for PPC32.
* Rename the test to `half.ll` to reflect its status, which also matches
other backends.

[1]: https://github.com/llvm/llvm-project/issues/97975



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list