[PATCH] D20998: [InstCombine][SSE] Add MOVMSK constant folding (PR27982)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 4 09:09:00 PDT 2016
RKSimon created this revision.
RKSimon added reviewers: spatel, andreadb, ab.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.
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.
Repository:
rL LLVM
http://reviews.llvm.org/D20998
Files:
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/x86-movmsk.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20998.59650.patch
Type: text/x-patch
Size: 8198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160604/24ba36ff/attachment.bin>
More information about the llvm-commits
mailing list