[all-commits] [llvm/llvm-project] 85f172: [RDF] Stop looking when reached code node in getNe...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Mon Jun 12 10:46:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85f1726c1b7dc53f3a71c74601614fa4a0bfa8cd
      https://github.com/llvm/llvm-project/commit/85f1726c1b7dc53f3a71c74601614fa4a0bfa8cd
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/RDFGraph.h

  Log Message:
  -----------
  [RDF] Stop looking when reached code node in getNextRef with NextOnly

NextOnly tells getNextRef to only check the next node in the chain, and
stop iterating. The loop didn't stop though when the next link pointed
back to the beginning of the circular list.

Recommit this one right now, because it fixes a latent bug.




More information about the All-commits mailing list