[PATCH] D36069: [X86][InstCombine] Add some constant folding for BZHI intrinsics
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 30 18:52:02 PDT 2017
craig.topper created this revision.
This intrinsic clears the upper bits starting at a specified index. If the index is a constant we can do some simplifications.
https://reviews.llvm.org/D36069
Files:
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/X86/x86-bmi-tbm.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36069.108849.patch
Type: text/x-patch
Size: 4044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170731/b53306bf/attachment.bin>
More information about the llvm-commits
mailing list