[all-commits] [llvm/llvm-project] 5ab017: [PGO] Don't unconditionally request BBInfo in veri...

Arthur Eubanks via All-commits all-commits at lists.llvm.org
Tue May 27 09:47:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ab017a30f31f704fe6981a927ac64be139faa33
      https://github.com/llvm/llvm-project/commit/5ab017a30f31f704fe6981a927ac64be139faa33
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2025-05-27 (Tue, 27 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    A llvm/test/Transforms/PGOProfile/unreachable_bb2.ll

  Log Message:
  -----------
  [PGO] Don't unconditionally request BBInfo in verifyFuncBFI() (#140804)

This breaks in the case where there are unreachable blocks after an
entry block with no successors, which don't have a `BBInfo`, causing
crashes.

`BBInfo` doesn't exist for unreachable blocks, see
https://reviews.llvm.org/D27280.

Fixes #135828.



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