[all-commits] [llvm/llvm-project] 23ad66: [SVE][CodeGen] At -O0 fallback to DAG ISel when tr...

david-arm via All-commits all-commits at lists.llvm.org
Thu Jul 30 00:41:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 23ad660b5d34930b2b5362f1bba63daee78f6aa4
      https://github.com/llvm/llvm-project/commit/23ad660b5d34930b2b5362f1bba63daee78f6aa4
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-07-30 (Thu, 30 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll

  Log Message:
  -----------
  [SVE][CodeGen] At -O0 fallback to DAG ISel when translating alloca with scalable types

When building code at -O0 We weren't falling back to DAG ISel correctly
when encountering alloca instructions with scalable vector types. This
is because the alloca has no operands that are scalable. I've fixed this by
adding a check in AArch64ISelLowering::fallBackToDAGISel for alloca
instructions with scalable types.

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




More information about the All-commits mailing list