[all-commits] [llvm/llvm-project] 3f5973: [mlir][aarch64] Disable bf16 tests on AArch64

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Thu Oct 20 00:12:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f59734e0c25ffcd8b522d2ccd8484941a819fca
      https://github.com/llvm/llvm-project/commit/3f59734e0c25ffcd8b522d2ccd8484941a819fca
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2022-10-20 (Thu, 20 Oct 2022)

  Changed paths:
    M mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output_bf16.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum_bf16.mlir

  Log Message:
  -----------
  [mlir][aarch64] Disable bf16 tests on AArch64

This patch disables 2 bf16 tests that are currently not supported on
AArch64. I've triaged these failures and opened [1] to track this. I
don't have a simple reproducer for dense_output_bf16.mlir, but it's
rather clear that both tests fail due to missing support for `bfloat`
operations in the AArch64 backend.

I'm not sure what the path forward to enable these tests on AArch64
should be. I think that there are two options:
  * AArch64 backened gains capability to legalize these nodes containing
    `bfloat` operands, or
  * MLIR (similarly to Clang) is taught not to emit such nodes in the
    first place.

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

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




More information about the All-commits mailing list