This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Fix some crashs in g_unmerge_values/g_merge_values
ClosedPublic

Authored by arsenm on Jan 3 2019, 5:50 PM.

Details

Reviewers
rampitec
tstellar
Summary

This was crashing in the predicate function assuming the value
is a vector.

Copy more of what AArch64 uses. This probably needs more refinement
later, but I don't exactly understand what it means in some cases,
particularly since any legalization for these seems to be missing.

Diff Detail

Event Timeline

arsenm created this revision.Jan 3 2019, 5:50 PM
tstellar accepted this revision.Jan 7 2019, 9:12 AM

LGTM.

This revision is now accepted and ready to land.Jan 7 2019, 9:12 AM
arsenm closed this revision.Jan 20 2019, 10:40 AM

r351693