[PATCH] D81818: [NFC] [PowerPC] Use shared method in FP_TO_INT and INT_TO_FP lowering

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 14 20:15:29 PDT 2020


qiucf created this revision.
qiucf added reviewers: steven.zhang, nemanjai, hfinkel, jsji, PowerPC.
Herald added subscribers: llvm-commits, shchenz, kbarton, hiraditya.
Herald added a project: LLVM.

For `FP_TO_INT` and `INT_TO_FP` lowering, we have direct-move and non-direct-move methods. But they share some conversion logic, so we can reduce redundant code by new methods.

This revision also does some change for ease of D81537 <https://reviews.llvm.org/D81537> and D81669 <https://reviews.llvm.org/D81669>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81818

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81818.270652.patch
Type: text/x-patch
Size: 12472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200615/cfa64c53/attachment.bin>


More information about the llvm-commits mailing list