Page MenuHomePhabricator

[mips] Fix incorrect sign extension for fpowi libcall
ClosedPublic

Authored by sdardis on Jan 25 2018, 7:10 AM.

Details

Summary

PR36061 showed that during the expansion of ISD::FPOWI, that there
was an incorrect zero extension of the integer argument which for
MIPS64 would then give incorrect results. Address this with the
exisiting mechanism for correcting sign extensions.

This resolves PR36061.

Thanks to James Cowgill for reporting the issue!

Diff Detail

Repository
rL LLVM

Event Timeline

sdardis created this revision.Jan 25 2018, 7:10 AM
This revision is now accepted and ready to land.Jan 29 2018, 3:31 AM
This revision was automatically updated to reflect the committed changes.