[all-commits] [llvm/llvm-project] e7ed43: [FuncSpec] Invalidate analyses when deleting a ful...

Momchil Velikov via All-commits all-commits at lists.llvm.org
Wed Nov 30 10:58:22 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7ed43c7530d5277bb3ea5f3a0ef18e20ca464db
      https://github.com/llvm/llvm-project/commit/e7ed43c7530d5277bb3ea5f3a0ef18e20ca464db
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/SCCP.h
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    M llvm/lib/Transforms/IPO/SCCP.cpp
    A llvm/test/Transforms/FunctionSpecialization/compiler-crash-58759.ll

  Log Message:
  -----------
  [FuncSpec] Invalidate analyses when deleting a fully specialised function

Deleting a fully specialised function left dangling pointers in
`FunctionAnalysisManager`, which causes an internal compiler error
when the function's storage was reused.

Fixes bug #58759.

Reviewed By: ChuanqiXu

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

Change-Id: Ifed378c748af35e8fe7dcbdddb0f41b8777cbe87




More information about the All-commits mailing list