[Sparc][Leon] Errata fixes for various errata in different versions of the Leon varia...
authorChris Dewhurst <chris.dewhurst@lero.ie>
Fri, 12 Aug 2016 09:34:26 +0000 (09:34 +0000)
committerChris Dewhurst <chris.dewhurst@lero.ie>
Fri, 12 Aug 2016 09:34:26 +0000 (09:34 +0000)
commit829f8efe558e1cb2cee75395d1f18a52d2955db2
tree36e5b0fe8e5c5647a7e93ac46663a599a0fdc694
parent6604e9638bfbf1af75c6fd7f5ec4b09b23abcaa9
[Sparc][Leon] Errata fixes for various errata in different versions of the Leon variants of the Sparc 32 bit processor.

The nature of the errata are listed in the comments preceding the errata fix passes. Relevant unit tests are implemented for each of these.

These changes update older versions of these errata fixes with improvements to code and unit tests.

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

llvm-svn: 278489
12 files changed:
llvm/lib/Target/Sparc/LeonFeatures.td
llvm/lib/Target/Sparc/LeonPasses.cpp
llvm/lib/Target/Sparc/LeonPasses.h
llvm/lib/Target/Sparc/Sparc.td
llvm/lib/Target/Sparc/SparcSubtarget.cpp
llvm/lib/Target/Sparc/SparcSubtarget.h
llvm/lib/Target/Sparc/SparcTargetMachine.cpp
llvm/test/CodeGen/SPARC/LeonFillDataCachePassUT.ll [new file with mode: 0755]
llvm/test/CodeGen/SPARC/LeonFixCALLPassUT.ll [deleted file]
llvm/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll
llvm/test/CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll
llvm/test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll