[all-commits] [llvm/llvm-project] 44ba6e: [CodeGen][LoongArch] Set FP_TO_SINT/FP_TO_UINT to ...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44ba6ebc999d6e9b27bedfe04a993adfd204dc6a
      https://github.com/llvm/llvm-project/commit/44ba6ebc999d6e9b27bedfe04a993adfd204dc6a
  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/fptosi.ll
    A llvm/test/CodeGen/LoongArch/lasx/ir-instruction/fptoui.ll
    A llvm/test/CodeGen/LoongArch/lsx/ir-instruction/fptosi.ll
    A llvm/test/CodeGen/LoongArch/lsx/ir-instruction/fptoui.ll

  Log Message:
  -----------
  [CodeGen][LoongArch] Set FP_TO_SINT/FP_TO_UINT to legal for vector types (#79107)

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




More information about the All-commits mailing list