This patch adds support for folding undef/zero/constant inputs to MOVMSK instructions.
The SSE/AVX versions can be fully folded, but the MMX version can only handle undef inputs.
Paths
| Differential D20998
[InstCombine][SSE] Add MOVMSK constant folding (PR27982) ClosedPublic Authored by RKSimon on Jun 4 2016, 9:08 AM.
Details Summary This patch adds support for folding undef/zero/constant inputs to MOVMSK instructions. The SSE/AVX versions can be fully folded, but the MMX version can only handle undef inputs.
Diff Detail
Event TimelineRKSimon updated this object. ab edited edge metadata. Comment ActionsLGTM, with one nit.
This revision is now accepted and ready to land.Jun 5 2016, 7:48 PM Closed by commit rL271990: [InstCombine][SSE] Add MOVMSK constant folding (PR27982) (authored by RKSimon). · Explain WhyJun 7 2016, 1:25 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 59650 lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/x86-movmsk.ll
|
i -> I ?
Or, since I is confusing: EI/EE? AI/AE?