This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Remove invalid assert
AbandonedPublic

Authored by arsenm on Jan 3 2019, 10:41 PM.

Details

Summary

G_CONSTANT is allowed for vectors

Diff Detail

Event Timeline

arsenm created this revision.Jan 3 2019, 10:41 PM
arsenm added a comment.Jan 7 2019, 1:17 AM

This also needs to happen in buildFConstant

This revision is now accepted and ready to land.Jan 8 2019, 9:25 AM

While splatting is convenient (compared with build_vector of constants), I realized from discussion in https://reviews.llvm.org/D56379, this would make it inconsistent with rest of GISel.