[all-commits] [llvm/llvm-project] 8b360c: [FuncSpec]Fix assertion failure when value is not ...

bincheng-github via All-commits all-commits at lists.llvm.org
Fri Jun 10 03:46:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b360c69e9e31c38995014414aac523b94b2adaf
      https://github.com/llvm/llvm-project/commit/8b360c69e9e31c38995014414aac523b94b2adaf
  Author: Bin Cheng <bin.cheng at linux.alibaba.com>
  Date:   2022-06-10 (Fri, 10 Jun 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    M llvm/test/Transforms/FunctionSpecialization/function-specialization-constant-expression.ll
    A llvm/test/Transforms/FunctionSpecialization/function-specialization-constant-expression4.ll
    A llvm/test/Transforms/FunctionSpecialization/function-specialization-constant-expression5.ll

  Log Message:
  -----------
  [FuncSpec]Fix assertion failure when value is not added to solver

This patch improves the fix in D110529 to prevent from crashing on value
with byval attribute that is not added in SCCP solver.

Authored-by: sinan.lin at linux.alibaba.com
Reviewed By: ChuanqiXu

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




More information about the All-commits mailing list