Commit
843c0adf0f7449a4167d20b399f70f6943d21d5e
by jay.foad[ConstantFold] Fold extractelement of getelementptr
Summary: Getelementptr has vector type if any of its operands are
vectors
(the scalar operands being implicitly broadcast to all vector elements).
Extractelement applied to a vector getelementptr can be folded by
applying the extractelement in turn to all of the vector operands.
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69379