commit | 2956373588d20b14dcfe702574e2e4a443de0718 | [log] [tgz] |
---|---|---|
author | Haicheng Wu <haicheng@codeaurora.org> | Sat Oct 28 02:27:14 2017 +0000 |
committer | Haicheng Wu <haicheng@codeaurora.org> | Sat Oct 28 02:27:14 2017 +0000 |
tree | 8b099698f5274b8e82eaa14367277962d8f0f11c | |
parent | f5863897ac51a4d6254a89537097e424ab35e556 [diff] |
[ConstantFold] Fix a crash when folding a GEP that has vector index LLVM crashes when factoring out an out-of-bound index into preceding dimension and the preceding dimension uses vector index. Simply bail out now when this case happens. Differential Revision: https://reviews.llvm.org/D38677 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316824 91177308-0d34-0410-b5e6-96231b3b80d8