[PATCH] D35576: [SPARC] Clean up the support for disabling fsmuld and fmuls instructions.

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 12:39:23 PDT 2017


jyknight created this revision.

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.


https://reviews.llvm.org/D35576

Files:
  lib/Target/Sparc/LeonFeatures.td
  lib/Target/Sparc/LeonPasses.cpp
  lib/Target/Sparc/LeonPasses.h
  lib/Target/Sparc/Sparc.td
  lib/Target/Sparc/SparcISelLowering.cpp
  lib/Target/Sparc/SparcInstrInfo.td
  lib/Target/Sparc/SparcSubtarget.cpp
  lib/Target/Sparc/SparcSubtarget.h
  lib/Target/Sparc/SparcTargetMachine.cpp
  test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll
  test/CodeGen/SPARC/disable-fsmuld-fmuls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35576.107156.patch
Type: text/x-patch
Size: 19290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170718/40f86f49/attachment.bin>


More information about the llvm-commits mailing list