[PATCH] D56379: GlobalISel: Implement fewerElementsVector for constants

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 7 13:42:14 PST 2019


aemerson added a comment.

This is strange. G_CONSTANT isn't supposed to be able to splat the constant into a vector, so this is an oversight in the MachineVerifier for not catching this case.

Constant vectors are handled in the IRTranslator as G_BUILD_VECTORs of the constant element values. Sorry about the confusion.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56379/new/

https://reviews.llvm.org/D56379





More information about the llvm-commits mailing list