This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel|ARM] : Allow legalizing G_FSUB
ClosedPublic

Authored by javed.absar on Oct 24 2017, 2:36 PM.

Diff Detail

Event Timeline

javed.absar created this revision.Oct 24 2017, 2:36 PM
rovka edited edge metadata.Oct 25 2017, 1:03 AM

Hi Javed,

This is going in the right direction.

Your test is validating the whole GISel pipeline. You should add more specific tests in arm-legalize-fp.mir, arm-regbankselect.mir and arm-instruction-select.mir. That will make it very easy to spot what's missing.

fhahn added a subscriber: fhahn.Oct 25 2017, 3:27 AM
javed.absar edited the summary of this revision. (Show Details)

Thanks Diana for the feedback. I added the missing tests and they now all pass.

rovka accepted this revision.Oct 30 2017, 5:00 AM

LGTM, thanks!

test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir
346

Nit: These checks are redundant now, since the ones below also check the register classes on each def. You can remove them.

This revision is now accepted and ready to land.Oct 30 2017, 5:00 AM
This revision was automatically updated to reflect the committed changes.