[PATCH] D71952: [X86][InstCombine] Add constant folding and simplification support for pdep and pext
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 28 01:56:59 PST 2019
craig.topper updated this revision to Diff 235467.
craig.topper added a comment.
Use non-constants for the all 0s and all ones 1s cases.
Move comment to own line. Use Mask &= Mask - 1 instead of the Mask ^=.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71952/new/
https://reviews.llvm.org/D71952
Files:
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/X86/x86-bmi-tbm.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71952.235467.patch
Type: text/x-patch
Size: 7188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191228/a2f9b096/attachment.bin>
More information about the llvm-commits
mailing list