This is an archive of the discontinued LLVM Phabricator instance.

InstructionSimplify: Refactor foldIdentityShuffles. NFC.
ClosedPublic

Authored by zvi on May 7 2017, 2:19 PM.

Details

Summary

Minor refactoring of foldIdentityShuffles() which allows the removal of a
ConstantDataVector::get() in SimplifyShuffleVectorInstruction.

Diff Detail

Repository
rL LLVM

Event Timeline

zvi created this revision.May 7 2017, 2:19 PM
spatel accepted this revision.May 8 2017, 7:53 AM

LGTM - thanks!

This revision is now accepted and ready to land.May 8 2017, 7:53 AM
This revision was automatically updated to reflect the committed changes.