[all-commits] [llvm/llvm-project] f799f9: [CodeGen][LoongArch] Set SINT_TO_FP/UINT_TO_FP to ...

yjijd via All-commits all-commits at lists.llvm.org
Mon Jan 22 23:16:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f799f936929c232a16abc7c520a10fecadbf05f9
      https://github.com/llvm/llvm-project/commit/f799f936929c232a16abc7c520a10fecadbf05f9
  Author: yjijd <licongtian at loongson.cn>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
    A llvm/test/CodeGen/LoongArch/lasx/ir-instruction/sitofp.ll
    A llvm/test/CodeGen/LoongArch/lasx/ir-instruction/uitofp.ll
    A llvm/test/CodeGen/LoongArch/lsx/ir-instruction/sitofp.ll
    A llvm/test/CodeGen/LoongArch/lsx/ir-instruction/uitofp.ll

  Log Message:
  -----------
  [CodeGen][LoongArch] Set SINT_TO_FP/UINT_TO_FP to legal for vector types (#78924)

Support the following conversions:
v4i32->v4f32, v2i64->v2f64(LSX)
v8i32->v8f32, v4i64->v4f64(LASX)
v4i32->v4f64, v4i64->v4f32(LASX)




More information about the All-commits mailing list