This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Correct the type on a predicate cast
ClosedPublic

Authored by dmgreen on May 5 2020, 2:09 AM.

Details

Summary

A PREDICATE_CAST(PREDICATE_CAST(X)) can be converted to a PREDICATE_CAST(X) as the operation can convert between any forms of predicates (v4i1/v8i1/v16i1/i32). Unfortunately I got the type wrong on one of the rarer converts, which would lead to invalid nodes during isel. This fixes it up to the correct type.

Diff Detail

Event Timeline

dmgreen created this revision.May 5 2020, 2:09 AM
simon_tatham accepted this revision.May 5 2020, 2:54 AM
This revision is now accepted and ready to land.May 5 2020, 2:54 AM
This revision was automatically updated to reflect the committed changes.