This is an archive of the discontinued LLVM Phabricator instance.

Revert "This pass, fixing an erratum in some LEON 2 processors..."
ClosedPublic

Authored by dcederman on Apr 19 2018, 6:07 AM.

Details

Summary

Reading Atmel's AT697E errata document this does not seem like a valid workaround. While the text only mentions SDIV, it says that the ICC flags can be wrong, and those are only generated by SDIVcc. Verification on hardware shows that simply replacing SDIV with SDIVcc does not avoid the bug with negative operands.

This reverts r283727.

Diff Detail

Repository
rL LLVM

Event Timeline

dcederman created this revision.Apr 19 2018, 6:07 AM
jyknight accepted this revision.Apr 19 2018, 7:25 PM
This revision is now accepted and ready to land.Apr 19 2018, 7:25 PM
This revision was automatically updated to reflect the committed changes.
llvm/trunk/lib/Target/Sparc/SparcSubtarget.h