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

topperc via All-commits all-commits at lists.llvm.org
Tue Sep 15 04:57:52 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ec773995076236110d4ffb1db7e6723c22519fc
      https://github.com/llvm/llvm-project/commit/2ec773995076236110d4ffb1db7e6723c22519fc
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-09-15 (Tue, 15 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

(cherry picked from commit 4208ea3e19f8e3e8cd35e6f5a6c43f4aa066c6ec)




More information about the All-commits mailing list