HomePhabricator

[ARM] Correct the type on a predicate cast

Authored by dmgreen on Tue, May 5, 3:27 AM.

Description

[ARM] Correct the type on a predicate cast

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 use the correct type.

Differential Revision: https://reviews.llvm.org/D79402

Details

Committed
dmgreenTue, May 5, 5:15 AM
Differential Revision
D79402: [ARM] Correct the type on a predicate cast
Parents
rG5ba329059f9c: [SveEmitter] Add builtins for svreinterpret
Branches
Unknown
Tags
Unknown