]> granicus.if.org Git - llvm/commit
[InstCombine] Disable recursion in foldGEPICmp for vector pointer GEPs
authorCraig Topper <craig.topper@intel.com>
Wed, 28 Aug 2019 15:40:34 +0000 (15:40 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 28 Aug 2019 15:40:34 +0000 (15:40 +0000)
commit220ab2c05637e249ac804c51c61f46f2d52a4843
tree41c6c4c6c73e9306deea4e246ffbc833dd23f52a
parent11afb24a89754658c0ea72e89561079fa4b8fa4e
[InstCombine] Disable recursion in foldGEPICmp for vector pointer GEPs

Due to missing vector support in this function, recursion can
generate worse code in some cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370221 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/gep-custom-dl.ll