[PATCH] D55529: [InstCombine] try to convert x86 movmsk intrinsic to generic IR (PR39927)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 10 15:09:03 PST 2018


spatel created this revision.
spatel added reviewers: RKSimon, craig.topper.
Herald added a subscriber: mcrosier.

This has the potential to create non-power-of-2 scalar types as shown in some of the test diffs, but it looks like the backend knows how to deal with that in these patterns.
This is the simple part of the fix suggested in:
https://bugs.llvm.org/show_bug.cgi?id=39927


https://reviews.llvm.org/D55529

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Transforms/InstCombine/X86/x86-movmsk.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55529.177604.patch
Type: text/x-patch
Size: 9148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181210/4fcb84e6/attachment.bin>


More information about the llvm-commits mailing list