[all-commits] [llvm/llvm-project] 84bd85: [GlobalISel][IRTranslator] When translating vector...

AE via All-commits all-commits at lists.llvm.org
Thu Jan 30 16:27:43 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 84bd8511085891a7c5f413f2d54d3a31b98105aa
      https://github.com/llvm/llvm-project/commit/84bd8511085891a7c5f413f2d54d3a31b98105aa
  Author: Amara Emerson <aemerson at apple.com>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/translate-gep.ll

  Log Message:
  -----------
  [GlobalISel][IRTranslator] When translating vector geps, splat the base pointer if required.

We can have geps that have a scalar base pointer, and a vector index value, which
means that the base pointer must be splatted into a vector of pointers.

This fixes crashes on arm64 GlobalISel with optimizations enabled.




More information about the All-commits mailing list