]> granicus.if.org Git - llvm/commit
[SPARC] Clean up the support for disabling fsmuld and fmuls instructions.
authorJames Y Knight <jyknight@google.com>
Thu, 20 Jul 2017 20:09:11 +0000 (20:09 +0000)
committerJames Y Knight <jyknight@google.com>
Thu, 20 Jul 2017 20:09:11 +0000 (20:09 +0000)
commit4d6a372483589a561f3ecf4540fa310f3a4aafbd
tree0dfc693856beb908ec056a7b8bce4cd1f3f77446
parentcf138ec1422f764724650fbd9f36087d7ecf79e1
[SPARC] Clean up the support for disabling fsmuld and fmuls instructions.

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.

Reviewers: jacob_hansen, ekedaigle

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D35576

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308661 91177308-0d34-0410-b5e6-96231b3b80d8
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 [deleted file]
test/CodeGen/SPARC/disable-fsmuld-fmuls.ll [new file with mode: 0644]