[all-commits] [llvm/llvm-project] 7a1b2a: [RISCV] Implement straight-forward bf16<->int conv...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Mon Aug 7 03:15:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a1b2adc450dc39e369731852cf0dab3f5969f52
      https://github.com/llvm/llvm-project/commit/7a1b2adc450dc39e369731852cf0dab3f5969f52
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfbfmin.td
    A llvm/test/CodeGen/RISCV/bfloat-convert.ll

  Log Message:
  -----------
  [RISCV] Implement straight-forward bf16<->int conversion cases

This ports over the test cases half-convert.ll and implements patterns
or RISCVISelLowering.cpp changes for all of the most straight-forward
cases (those that don't require changes outside of lib/Target/RISCV).
The remaining cases and noted poor codegen for saturating conversions
will be handled in follow-up patches.

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




More information about the All-commits mailing list