[PATCH] D11886: [InstCombine] Move SSE2/AVX2 arithmetic vector shift folding to instcombiner
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 9 06:16:44 PDT 2015
RKSimon created this revision.
RKSimon added reviewers: andreadb, qcolombet, mkuper.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.
As discussed in D11760, this patch moves the (V)PSRA(WD) arithmetic shift-by-constant folding to InstCombine to match the logical shift implementations.
Repository:
rL LLVM
http://reviews.llvm.org/D11886
Files:
lib/Target/X86/X86ISelLowering.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/CodeGen/X86/combine-avx2-intrinsics.ll
test/CodeGen/X86/combine-sse2-intrinsics.ll
test/Transforms/InstCombine/x86-vector-shifts.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11886.31618.patch
Type: text/x-patch
Size: 20852 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150809/97865414/attachment.bin>
More information about the llvm-commits
mailing list