[PATCH] D23456: [Sparc] Leon Errata Fix Passes

Chris Dewhurst via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 08:51:52 PDT 2016


lero_chris updated this revision to Diff 70169.
lero_chris added a comment.

Removed the IgnoreZeroFlag erratum fix pass containing "wr %g0, 1, %psr" as this pass does not have any effect.

The compiler, including this pass was tested through 6600 tests in a test suite on the processor and through unit tests which tested that the code was generated given the specific input pattern, so if these all passed, we can safely assume that the erratum that this pass was intended to fix can never be generated by LLC.


Repository:
  rL LLVM

https://reviews.llvm.org/D23456

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/SparcSubtarget.cpp
  lib/Target/Sparc/SparcSubtarget.h
  lib/Target/Sparc/SparcTargetMachine.cpp
  test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll
  test/CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll
  test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23456.70169.patch
Type: text/x-patch
Size: 46600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160902/5fb2ccd6/attachment.bin>


More information about the llvm-commits mailing list