[all-commits] [llvm/llvm-project] 33ecc8: [IPSCCP][FuncSpec] Fix compiler crash 60191.

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Tue Jan 24 10:40:50 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33ecc8a9b8b0584f13d849d7810e2fceca8d6be3
      https://github.com/llvm/llvm-project/commit/33ecc8a9b8b0584f13d849d7810e2fceca8d6be3
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    A llvm/test/Transforms/FunctionSpecialization/compiler-crash-60191.ll

  Log Message:
  -----------
  [IPSCCP][FuncSpec] Fix compiler crash 60191.

Found here https://github.com/llvm/llvm-project/issues/60191

The compiler would crash when specializing a function based on a function
pointer whose call sites may expect less parameters than those of the
function we are replacing the pointer with.

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




More information about the All-commits mailing list