[all-commits] [llvm/llvm-project] c24f88: [mlir][SCCP] Don't visit private callables unless ...

River Riddle via All-commits all-commits at lists.llvm.org
Thu Dec 10 13:01:36 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c24f88b4db2ef359f47e976d8d79334ced221288
      https://github.com/llvm/llvm-project/commit/c24f88b4db2ef359f47e976d8d79334ced221288
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M mlir/lib/Transforms/SCCP.cpp
    M mlir/test/Transforms/sccp-callgraph.mlir

  Log Message:
  -----------
  [mlir][SCCP] Don't visit private callables unless they are used when tracking interprocedural arguments/results

This fixes a subtle bug where SCCP could incorrectly optimize a private callable while waiting for its arguments to be resolved.

Fixes PR#48457

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




More information about the All-commits mailing list