[all-commits] [llvm/llvm-project] d2640f: [StructuralHash] Ignore global variable declarations

mikaelholmen via All-commits all-commits at lists.llvm.org
Wed Jun 28 22:53:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2640f596c4763596ab92dadbdd0477afae4190f
      https://github.com/llvm/llvm-project/commit/d2640f596c4763596ab92dadbdd0477afae4190f
  Author: Mikael Holmen <mikael.holmen at ericsson.com>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M llvm/lib/IR/StructuralHash.cpp
    A llvm/test/Transforms/StripDeadPrototypes/remove-global-variable-declaration.ll

  Log Message:
  -----------
  [StructuralHash] Ignore global variable declarations

Ignore declarations of global variables, just as we do with declarations
of functions.

Done as a follow up to the comments in https://reviews.llvm.org/D149209

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

# Conflicts:
#	llvm/lib/IR/StructuralHash.cpp




More information about the All-commits mailing list