Due to an erratum in some versions of LEON, we must insert a NOP after any LD or LDF instruction to ensure the processor has time to load the value correctly before using it. This pass will implement that erratum fix.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/Sparc/LeonPasses.cpp | ||
---|---|---|
23 | remove out-commented code. | |
33 | please limit your lines to 80 columns, there's a few other instances of this. | |
51 | Please remove these out-commented lines of code (or change to debug output), this and on line 60 and 71. | |
lib/Target/Sparc/SparcTargetMachine.h | ||
38 | It looks like you may have used an outdated trunk when generating this diff. SparcTargetMachine no longer have a Subtarget member, and the implementation of getSubtargetImpl have changed in the trunk compared to the code here. |
- Changes to feature lists on processors to correct mistakes in which processors need errata fixes.
- Changes to getSubtargetImpl to be consistent with the implementation in, e.g. the ARM backend.
Closed and committed after modifications applying to comments and no further activity.
remove out-commented code.