[all-commits] [llvm/llvm-project] 0a9b1c: [PowerPC][GISel]support for float point and intege...

Chen Zheng via All-commits all-commits at lists.llvm.org
Sun Dec 4 19:22:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a9b1c59f000cab21afc0c19df0f635445826422
      https://github.com/llvm/llvm-project/commit/0a9b1c59f000cab21afc0c19df0f635445826422
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2022-12-04 (Sun, 04 Dec 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
    M llvm/lib/Target/PowerPC/GISel/PPCLegalizerInfo.cpp
    M llvm/lib/Target/PowerPC/GISel/PPCRegisterBankInfo.cpp
    A llvm/test/CodeGen/PowerPC/GlobalISel/float-integer-conv.ll

  Log Message:
  -----------
  [PowerPC][GISel]support for float point and integer convertion

Add support for fptosi,fptoui,sitofp,uitofp

For now only handle 64 bit integer to make it does not depend on
any other patches. 32 bit integer needs handling for G_SEXT/G_ZEXT.

Reviewed By: arsenm

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




More information about the All-commits mailing list