[PATCH] D36763: [InstCombine] Teach canEvaluateZExtd and canEvaluateTruncated to handle vector shifts with splat shift amount
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 15 11:50:01 PDT 2017
craig.topper created this revision.
We were only allowing ConstantInt before. This patch allows splat of ConstantInt too.
https://reviews.llvm.org/D36763
Files:
lib/Transforms/InstCombine/InstCombineCasts.cpp
test/Transforms/InstCombine/cast.ll
test/Transforms/InstCombine/select-with-bitwise-ops.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36763.111224.patch
Type: text/x-patch
Size: 8727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170815/e9eb02b9/attachment.bin>
More information about the llvm-commits
mailing list