[PATCH] D38677: [ConstantFold] Fix a crash when folding a GEP that has vector index

Haicheng Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 26 14:40:53 PDT 2017


haicheng added a comment.

Thank you, Matt.

As you pointed out, supporting vector previous index is not difficult.  I choosed to bail out at first because

1. We already bail out when the current index is a vector.

2. I initially planned to fix the crash in this patch to unblock the release and add the vector index support for both current and previous index.


Repository:
  rL LLVM

https://reviews.llvm.org/D38677





More information about the llvm-commits mailing list