This is an archive of the discontinued LLVM Phabricator instance.

[ARM,MVE] Make `vqrshrun` generate the right instruction.
ClosedPublic

Authored by simon_tatham on Jan 10 2020, 2:51 AM.

Details

Summary

A copy-paste error in arm_mve.td meant that the MVE vqrshrun
intrinsic family was generating the vqshrun machine instruction,
because in the IR intrinsic call, the rounding flag argument was set
to 0 rather than 1.

Event Timeline

simon_tatham created this revision.Jan 10 2020, 2:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 10 2020, 2:51 AM
dmgreen accepted this revision.Jan 10 2020, 3:22 AM

Yeah, I said these would be tough to read! LGTM

This revision is now accepted and ready to land.Jan 10 2020, 3:22 AM
This revision was automatically updated to reflect the committed changes.