This is an archive of the discontinued LLVM Phabricator instance.

[ARM] VMOVrh of VMOVhr
ClosedPublic

Authored by dmgreen on Apr 23 2020, 6:25 AM.

Details

Summary

A VMOVhr of a VMOVrh can be simply folded to the original HPR value.

Diff Detail

Event Timeline

dmgreen created this revision.Apr 23 2020, 6:25 AM

Isn't VMOVrh (VMOVhr (X)) equivalent to X & 65535?

dmgreen updated this revision to Diff 260291.Apr 27 2020, 5:46 AM
dmgreen edited the summary of this revision. (Show Details)

Oh right. Yeah. My bad. I guess that's why we add tests for things.

I've removed that untested half of the patch, leaving only VMOVhr(VMOVrh(..))

Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2020, 5:46 AM
This revision is now accepted and ready to land.Apr 27 2020, 12:30 PM
This revision was automatically updated to reflect the committed changes.