This is an archive of the discontinued LLVM Phabricator instance.

[APFloat] Fix APFloat::getExactInverse when the input is nullptr. This is a regression introduced by r285105.
ClosedPublic

Authored by timshen on Oct 26 2016, 4:33 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

timshen updated this revision to Diff 75964.Oct 26 2016, 4:33 PM
timshen retitled this revision from to [APFloat] Fix APFloat::getExactInverse when the input is nullptr. This is a regression introduced by r285105..
timshen updated this object.
timshen added reviewers: kbarton, echristo, iteratee, eugenis.
timshen added a subscriber: llvm-commits.
hfinkel accepted this revision.Oct 26 2016, 4:39 PM
hfinkel added a reviewer: hfinkel.
hfinkel added a subscriber: hfinkel.

LGTM

This revision is now accepted and ready to land.Oct 26 2016, 4:39 PM

Reproduced the bug and verified the fix with -DLLVM_USE_SANITIZER='Undefined'.

I'll submit this first to make the bot happy.

This revision was automatically updated to reflect the committed changes.