This is an archive of the discontinued LLVM Phabricator instance.

[X86] Allow pmulh to be formed from narrow vXi16 vectors under -x86-experimental-vector-widening-legalization
ClosedPublic

Authored by craig.topper on Nov 14 2018, 12:23 AM.

Details

Summary

Narrower vectors will be widened to 128 bits without changing the element size. And generic type legalization can already handle widening mulhu/mulhs.

Diff Detail

Event Timeline

craig.topper created this revision.Nov 14 2018, 12:23 AM
spatel accepted this revision.Nov 14 2018, 7:09 AM

LGTM

This revision is now accepted and ready to land.Nov 14 2018, 7:09 AM
This revision was automatically updated to reflect the committed changes.