[all-commits] [llvm/llvm-project] 4208ea: [FastISel] Bail out of selectGetElementPtr for vec...

topperc via All-commits all-commits at lists.llvm.org
Mon Sep 14 12:55:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4208ea3e19f8e3e8cd35e6f5a6c43f4aa066c6ec
      https://github.com/llvm/llvm-project/commit/4208ea3e19f8e3e8cd35e6f5a6c43f4aa066c6ec
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-09-14 (Mon, 14 Sep 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
    M llvm/test/CodeGen/X86/masked_gather_scatter.ll

  Log Message:
  -----------
  [FastISel] Bail out of selectGetElementPtr for vector GEPs.

The code that decomposes the GEP into ADD/MUL doesn't work properly
for vector GEPs. It can create bad COPY instructions or possibly
assert.

For now just bail out to SelectionDAG.

Fixes PR45906




More information about the All-commits mailing list