[PATCH] D39556: [ConstantFold] Support vector index when factoring out GEP index into preceding dimensions
Haicheng Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 2 08:29:01 PDT 2017
haicheng created this revision.
Herald added a subscriber: mcrosier.
Follow-up of https://reviews.llvm.org/D38677. This patch supports the vector type of both current and previous index when factoring out the current one into the previous one.
Repository:
rL LLVM
https://reviews.llvm.org/D39556
Files:
lib/IR/ConstantFold.cpp
test/Assembler/getelementptr_vec_ce.ll
test/Transforms/InstCombine/gep-vector.ll
test/Transforms/InstSimplify/vector_gep.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39556.121319.patch
Type: text/x-patch
Size: 9352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171102/efe7cdf2/attachment.bin>
More information about the llvm-commits
mailing list