This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Keeping sign information on bitcasts for Neon vdot_lane intrinsics
AbandonedPublic

Authored by pratlucas on Feb 14 2020, 8:12 AM.

Details

Summary

Sign information was being lost on Neon's vdot_lane intrinsics arguments
when bitcasting explicitly to uint32 vector types. This patch introduces
a new cast option to allow casting the operand to the equivalent vector
type of 32-bit integers, keeping the sign information.

Event Timeline

pratlucas created this revision.Feb 14 2020, 8:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 14 2020, 8:12 AM
pratlucas edited the summary of this revision. (Show Details)Feb 14 2020, 8:25 AM
pratlucas added reviewers: jmolloy, t.p.northover.

Is this missing a test?

This patch by itself is a NFC. It aims to enable the proper overload resolution of intrinsic calls when using the call_mangled operation introduced on D74618.
To make this more clear, I'll discard this review and merge this changes into D74619, where call_mangled gets used.

pratlucas abandoned this revision.Mar 5 2020, 8:31 AM