There are at least 2 ways to express the same shuffle. Various pieces of code explicit check for both option, but other places do not when they would benefit from doing it. This patches refactor the codebase to use buildLegalVectorShuffle in order to make that behavior more consistent.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 37363 Build 37362: arc lint + arc unit
Event Timeline
Comment Actions
LGTM
include/llvm/CodeGen/TargetLowering.h | ||
---|---|---|
3196 | Make it clear that Mask may be altered whether this function succeeds or fails. |
Make it clear that Mask may be altered whether this function succeeds or fails.