Skip to content

Merge r316824 into 5.0.1 #34465

@llvmbot

Description

@llvmbot
Bugzilla Link 35117
Resolution FIXED
Resolved on Nov 13, 2017 14:30
Version trunk
OS Windows NT
Blocks #33840
Reporter LLVM Bugzilla Contributor
CC @zmodem,@tstellar
Fixed by commit(s) r316824 r318096

Extended Description

https://reviews.llvm.org/rL316824

[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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions