This is an archive of the discontinued LLVM Phabricator instance.

[SPARC] Clean up the support for disabling fsmuld and fmuls instructions.
ClosedPublic

Authored by jyknight on Jul 18 2017, 12:39 PM.

Details

Summary

Also enable no-fsmuld for sparcv7 (which doesn't have the
instruction).

The previous code which used a post-processing pass to do this was
unnecessary; disabling the instruction is entirely sufficient.

Diff Detail

Repository
rL LLVM

Event Timeline

jyknight created this revision.Jul 18 2017, 12:39 PM
jacob_hansen accepted this revision.Jul 19 2017, 2:46 AM

Thanks for cleaning this up. LGTM.

lib/Target/Sparc/Sparc.td
63 ↗(On Diff #107156)

unnecessary double blank line?

This revision is now accepted and ready to land.Jul 19 2017, 2:46 AM
This revision was automatically updated to reflect the committed changes.
llvm/trunk/lib/Target/Sparc/SparcTargetMachine.cpp