[PATCH] D156926: [RISCV] Add bf16 to isFPImmLegal.

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 14:49:48 PDT 2023


reames added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp:848
         llvm_unreachable("Unexpected size");
       case MVT::f16:
         Opc = RISCV::FLI_H;
----------------
Don't you need handling for bf16 here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156926/new/

https://reviews.llvm.org/D156926



More information about the llvm-commits mailing list