[all-commits] [llvm/llvm-project] a4b8c2: [mlir] VectorToSCF bug in setAllocAtFunctionEntry ...

Jakub Lichman via All-commits all-commits at lists.llvm.org
Tue Aug 18 00:13:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a4b8c2de1d393525f5333d24999031b25d0e8862
      https://github.com/llvm/llvm-project/commit/a4b8c2de1d393525f5333d24999031b25d0e8862
  Author: Jakub Lichman <limo at google.com>
  Date:   2020-08-18 (Tue, 18 Aug 2020)

  Changed paths:
    M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp

  Log Message:
  -----------
  [mlir] VectorToSCF bug in setAllocAtFunctionEntry fixed.

The function makes too strong assumption regarding parent FuncOp
which gets broken when FuncOp is first lowered to llvm function.
In this fix we generalize the assumption to allocation scope and
add assertion to produce user friendly message in case our assumption
is broken.

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




More information about the All-commits mailing list