This is an archive of the discontinued LLVM Phabricator instance.

[SveEmitter] Explicitly merge with zero/undef
ClosedPublic

Authored by sdesmalen on Apr 6 2020, 3:04 PM.

Details

Summary

Builtins that have the merge type MergeAnyExp or MergeZeroExp,
merge into a 'undef' or 'zero' vector respectively, which enables the
_x and _z behaviour for unary operations.

This patch also adds builtins for svabs and svneg.

Diff Detail

Event Timeline

sdesmalen created this revision.Apr 6 2020, 3:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2020, 3:04 PM
Herald added a subscriber: tschuett. · View Herald Transcript
efriedma accepted this revision.Apr 6 2020, 4:41 PM

LGTM

This revision is now accepted and ready to land.Apr 6 2020, 4:41 PM
This revision was automatically updated to reflect the committed changes.