summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2016-06-08 21:55:16 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2016-06-08 21:55:16 +0000
commit987ab631fad4edbebe3aaa00ba7c04dab1e8be32 (patch)
tree7839a001181c9905816ba2f00a49b122290017b3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parenta8777c2ef8f38112b5c3b2adce41bf02e8f615f4 (diff)
[SLPVectorizer] Handle GEP with differing constant index types
Summary: This fixes PR27617. Bug description: The SLPVectorizer asserts on encountering GEPs with different index types, such as i8 and i64. The patch includes a simple relaxation of the assert to allow constants being of different types, along with a regression test that will provoke the unrelaxed assert. Reviewers: nadav, mzolotukhin Subscribers: JesperAntonsson, llvm-commits, mzolotukhin Differential Revision: http://reviews.llvm.org/D20685 Patch by Jesper Antonsson! llvm-svn: 272206
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions