[all-commits] [llvm/llvm-project] 133175: [mlir] Add a null pointer check in symbol lookup (...

Shlomi Regev via All-commits all-commits at lists.llvm.org
Tue Nov 12 14:31:47 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13317502da8ee3885854f67700140586c0edafee
      https://github.com/llvm/llvm-project/commit/13317502da8ee3885854f67700140586c0edafee
  Author: Shlomi Regev <shlmregev at users.noreply.github.com>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M mlir/lib/Analysis/DataFlow/DeadCodeAnalysis.cpp
    M mlir/test/Analysis/DataFlow/test-dead-code-analysis.mlir

  Log Message:
  -----------
  [mlir] Add a null pointer check in symbol lookup (#115165)

Dead code analysis crashed because a symbol that is called/used didn't appear in the symbol
table. 
This patch fixes this by adding a nullptr check after symbol table lookup.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list