Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make globalReg clobberable in Z iRegStoreEvaluator
If the iRegStoreEvaluator generates an LGFR to sign extend, it is incorrect to assume that the iRegStore's child is clobberable. We must preserve the original value when sign extending. This commit fixes this issue by using the gprClobberEvaluate routine so that the sign extension is performed in a different register, and we don't potentially overwrite the upper-half data in the original register.
- Loading branch information