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.
Paths
| Differential D35576
[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 The previous code which used a post-processing pass to do this was
Diff Detail
Event TimelineComment Actions Thanks for cleaning this up. LGTM.
This revision is now accepted and ready to land.Jul 19 2017, 2:46 AM Closed by commit rL308661: [SPARC] Clean up the support for disabling fsmuld and fmuls instructions. (authored by jyknight). · Explain WhyJul 20 2017, 1:09 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 107573 llvm/trunk/lib/Target/Sparc/LeonFeatures.td
llvm/trunk/lib/Target/Sparc/LeonPasses.h
llvm/trunk/lib/Target/Sparc/LeonPasses.cpp
llvm/trunk/lib/Target/Sparc/Sparc.td
llvm/trunk/lib/Target/Sparc/SparcISelLowering.cpp
llvm/trunk/lib/Target/Sparc/SparcInstrInfo.td
llvm/trunk/lib/Target/Sparc/SparcSubtarget.h
llvm/trunk/lib/Target/Sparc/SparcSubtarget.cpp
llvm/trunk/lib/Target/Sparc/SparcTargetMachine.cpp
llvm/trunk/test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll
llvm/trunk/test/CodeGen/SPARC/disable-fsmuld-fmuls.ll
|