[all-commits] [llvm/llvm-project] bf82ff: Teach SROA to handle allocas with more than one db...

adrian-prantl via All-commits all-commits at lists.llvm.org
Tue Aug 4 15:55:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bf82ff61a6dbfec5295d9f24e6b66dcb9a038c6c
      https://github.com/llvm/llvm-project/commit/bf82ff61a6dbfec5295d9f24e6b66dcb9a038c6c
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2020-08-04 (Tue, 04 Aug 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    A llvm/test/Transforms/SROA/dbg-inline.ll

  Log Message:
  -----------
  Teach SROA to handle allocas with more than one dbg.declare.

It is technically legal for optimizations to create an alloca that is
used by more than one dbg.declare, if one or both of them are inlined
instances of aliasing variables.

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




More information about the All-commits mailing list