This is an archive of the discontinued LLVM Phabricator instance.

[ARM,MVE] Fix predicate types of some intrinsics
ClosedPublic

Authored by miyuki on Feb 19 2020, 7:54 AM.

Details

Summary

Some predicated MVE intrinsics return a vector with element size
different from the input vector element size. In this case the
predicate must type correspond to the output vector type.

The following intrinsics use the incorrect predicate type:

  • llvm.arm.mve.mull.int.predicated
  • llvm.arm.mve.mull.poly.predicated
  • llvm.arm.mve.vshll.imm.predicated

This patch fixes the issue.

Diff Detail

Event Timeline

miyuki created this revision.Feb 19 2020, 7:54 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 19 2020, 7:54 AM
MarkMurrayARM accepted this revision.Feb 19 2020, 8:05 AM
This revision is now accepted and ready to land.Feb 19 2020, 8:05 AM

The test failure is unrelated

This revision was automatically updated to reflect the committed changes.