[PATCH] D81669: [PowerPC] Support constrained fp operation for scalar sitofp/uitofp

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 09:53:59 PDT 2020


qiucf created this revision.
qiucf added reviewers: nemanjai, jsji, kbarton, kpn, steven.zhang, uweigand, PowerPC.
Herald added subscribers: llvm-commits, shchenz, hiraditya.
Herald added a project: LLVM.
qiucf added a parent revision: D81537: [PowerPC] Support constrained fp operation for scalar fptosi/fptoui.

This patch adds support for constrained conversion operation (`uitofp/sitofp`) from `i32/i64` to `f32/f64`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81669

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/lib/Target/PowerPC/PPCInstr64Bit.td
  llvm/lib/Target/PowerPC/PPCInstrInfo.td
  llvm/lib/Target/PowerPC/PPCInstrSPE.td
  llvm/lib/Target/PowerPC/PPCInstrVSX.td
  llvm/test/CodeGen/PowerPC/fp-strict-conv-f128.ll
  llvm/test/CodeGen/PowerPC/fp-strict-conv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81669.270169.patch
Type: text/x-patch
Size: 51321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200611/2ef5b18d/attachment.bin>


More information about the llvm-commits mailing list