This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Support vector splats in transformZExtICmp
ClosedPublic

Authored by craig.topper on Aug 29 2017, 12:04 AM.

Details

Summary

This patch adds splat support to transformZExtICmp. The test cases are vector versions of tests that failed when commenting out parts of the existing scalar code.

One test didn't vectorize optimize properly due to another bug so a TODO has been added.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Aug 29 2017, 12:04 AM
spatel accepted this revision.Aug 29 2017, 10:20 AM

LGTM.

This revision is now accepted and ready to land.Aug 29 2017, 10:20 AM
This revision was automatically updated to reflect the committed changes.