[all-commits] [llvm/llvm-project] 6401b7: SDAG: constant fold bf16 -> i16 casts

Tim Northover via All-commits all-commits at lists.llvm.org
Wed Apr 14 03:28:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6401b78ab3cf18cb5f0821f9bd52063af0d7ce35
      https://github.com/llvm/llvm-project/commit/6401b78ab3cf18cb5f0821f9bd52063af0d7ce35
  Author: Tim Northover <t.p.northover at gmail.com>
  Date:   2021-04-14 (Wed, 14 Apr 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/AArch64/bf16.ll

  Log Message:
  -----------
  SDAG: constant fold bf16 -> i16 casts

This direction is particularly useful because i16 constants are much more
likely to be legal than bf16.




More information about the All-commits mailing list