[all-commits] [llvm/llvm-project] 365163: [ARM][DAG] BF16 constant handling.

David Green via All-commits all-commits at lists.llvm.org
Sun Oct 2 03:51:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3651635ecad1a5a62321bcd79dcbf20855ceb443
      https://github.com/llvm/llvm-project/commit/3651635ecad1a5a62321bcd79dcbf20855ceb443
  Author: David Green <david.green at arm.com>
  Date:   2022-10-02 (Sun, 02 Oct 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    A llvm/test/CodeGen/ARM/bf16-imm.ll

  Log Message:
  -----------
  [ARM][DAG] BF16 constant handling.

Much like f16 and f32, we shouldn't try to shrink bf16 to smaller fp
constant.  The code may not be optimal, but this allows us to legalize
bf16 constants under Arm without errors.




More information about the All-commits mailing list