[all-commits] [llvm/llvm-project] 5d68dc: [Verifier] Iteratively traverse all indirect users.

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Dec 23 14:21:00 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d68dc184ef6cdb581bfa7bb353ee138c7690edd
      https://github.com/llvm/llvm-project/commit/5d68dc184ef6cdb581bfa7bb353ee138c7690edd
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-12-23 (Thu, 23 Dec 2021)

  Changed paths:
    M llvm/lib/IR/Verifier.cpp
    M llvm/unittests/IR/VerifierTest.cpp

  Log Message:
  -----------
  [Verifier] Iteratively traverse all indirect users.

The recursive implementation can run into stack overflows, e.g. like in PR52844.

The order the users are visited changes, but for the current use case
this only impacts the order error messages are emitted.




More information about the All-commits mailing list