[all-commits] [llvm/llvm-project] d335c1: Fix dynamic alloca detection in CloneBasicBlock

aeubanks via All-commits all-commits at lists.llvm.org
Mon Jun 22 15:06:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d335c1317b6170918311fcbccc39fe31b3a84bda
      https://github.com/llvm/llvm-project/commit/d335c1317b6170918311fcbccc39fe31b3a84bda
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-06-22 (Mon, 22 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/CloneFunction.cpp
    M llvm/unittests/Transforms/Utils/CloningTest.cpp

  Log Message:
  -----------
  Fix dynamic alloca detection in CloneBasicBlock

Summary:
Simply check AI->isStaticAlloca instead of reimplementing checks for
static/dynamic allocas.

Reviewers: efriedma

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list