This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by qiucf on Jun 14 2020, 7:56 PM.



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 and D81669.

Diff Detail

Event Timeline

qiucf created this revision.Jun 14 2020, 7:56 PM
qiucf updated this revision to Diff 274025.Jun 29 2020, 2:42 AM

Update to reflect changes in D81537.

This revision is now accepted and ready to land.Aug 3 2020, 6:04 PM
This revision was landed with ongoing or failed builds.Aug 4 2020, 12:54 AM
This revision was automatically updated to reflect the committed changes.