This is an archive of the discontinued LLVM Phabricator instance.

[ARM] make vminnm/vmaxnm work with ?le, ?ge and no-nans-fp-math
ClosedPublic

Authored by scott-0 on Mar 31 2015, 9:47 AM.

Details

Summary

Because -menable-no-nans causes fcmp conditions to be rewritten without 'o' or 'u' the recognition code in ARMTargetLowering::LowerSELECT_CC needs to cope. Also extend it to handle 'le' and 'ge'.

Diff Detail

Repository
rL LLVM

Event Timeline

scott-0 updated this revision to Diff 22966.Mar 31 2015, 9:47 AM
scott-0 retitled this revision from to [ARM] make vminnm/vmaxnm work with ?le, ?ge and no-nans-fp-math .
scott-0 updated this object.
scott-0 edited the test plan for this revision. (Show Details)
scott-0 added a subscriber: Unknown Object (MLST).
rengolin accepted this revision.Apr 3 2015, 10:47 AM
rengolin added a reviewer: rengolin.

Hi Scott, LGTM, thanks!

This revision is now accepted and ready to land.Apr 3 2015, 10:47 AM
This revision was automatically updated to reflect the committed changes.