[all-commits] [llvm/llvm-project] d529e7: [GVN] Refactor the LeaderTable structure into a pr...

Owen Anderson via All-commits all-commits at lists.llvm.org
Fri Apr 26 01:38:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d529e780f3935aadd42688fa8ab45d0350c2f70c
      https://github.com/llvm/llvm-project/commit/d529e780f3935aadd42688fa8ab45d0350c2f70c
  Author: Owen Anderson <resistor at mac.com>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/GVN.h
    M llvm/lib/Transforms/Scalar/GVN.cpp

  Log Message:
  -----------
  [GVN] Refactor the LeaderTable structure into a properly encapsulated data structure (#88347)

Hide the details of the one-off linked list used to implement the leader
lists by
wrapping them in iterators, and then use that to reimplement a number of
traversals
using standard algorithms and range-based for-loops.

No functional change intended.



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