This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Mark LEApcrel as not having side effects
ClosedPublic

Authored by john.brawn on May 4 2017, 4:11 AM.

Details

Summary

Doing this lets us hoist it out of loops, and I've also marked it as rematerializable the same as the thumb1 and thumb2 counterparts.

It looks like it being marked as such was just a mistake, as the commit that made that change only mentions LEApcrelJT and in thumb2 only the t2LEApcrelJT instruction was marked as having side-effects, so it looks like the intent was to only mark LEApcrelJT as having side-effects but LEApcrel was accidentally marked as such also.

Diff Detail

Repository
rL LLVM

Event Timeline

john.brawn created this revision.May 4 2017, 4:11 AM
jmolloy accepted this revision.May 15 2017, 4:00 AM

LGTM

This revision is now accepted and ready to land.May 15 2017, 4:00 AM
This revision was automatically updated to reflect the committed changes.