[all-commits] [llvm/llvm-project] b27148: [RISCV] Replace ISD::FP_EXTEND and ISD::FP_ROUND w...

Jianjian Guan via All-commits all-commits at lists.llvm.org
Wed May 25 19:18:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b271488e8b13a2b776c2e80769a192607521687e
      https://github.com/llvm/llvm-project/commit/b271488e8b13a2b776c2e80769a192607521687e
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-05-26 (Thu, 26 May 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td

  Log Message:
  -----------
  [RISCV] Replace ISD::FP_EXTEND and ISD::FP_ROUND with RVV VL op.

This patch tries to solve the incoordination between the direct and intermediate  cast caused by D123975.
This patch replaces ISD::FP_EXTEND and ISD::FP_ROUND with RVV VL op in the lowering of FP scalable vector direct cast to unify with the intermediate cast.
And it also changes the FP widenning pattern with the VL op.

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




More information about the All-commits mailing list