[all-commits] [llvm/llvm-project] b80c41: [SLP]Fix PR43799: Crash on different sizes of GEP ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Nov 4 07:48:09 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b80c41cd3c095c8c4fa739130b560b15bda4bbd0
      https://github.com/llvm/llvm-project/commit/b80c41cd3c095c8c4fa739130b560b15bda4bbd0
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2019-11-04 (Mon, 04 Nov 2019)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/crash_gep.ll

  Log Message:
  -----------
  [SLP]Fix PR43799: Crash on different sizes of GEP indices.

Summary:
If the GEP instructions are going to be vectorized, the indices in those
GEP instructions must be of the same type. Otherwise, the compiler may
crash when trying to build the vector constant.

Reviewers: RKSimon, spatel

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69627




More information about the All-commits mailing list