[all-commits] [llvm/llvm-project] 86fd4d: [Coroutines] Fix another crash related to CallGrap...

Yuxuan Chen via All-commits all-commits at lists.llvm.org
Thu Nov 21 06:07:38 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86fd4d4b5b95d58844e521cf7319965eea7d8d0b
      https://github.com/llvm/llvm-project/commit/86fd4d4b5b95d58844e521cf7319965eea7d8d0b
  Author: Yuxuan Chen <ych at fb.com>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroAnnotationElide.cpp
    A llvm/test/Transforms/Coroutines/gh114487-crash-in-cgscc-2.ll

  Log Message:
  -----------
  [Coroutines] Fix another crash related to CallGraph update (#116756)

The previous fix
https://github.com/llvm/llvm-project/commit/c6414970d76ad79168fe7ec3c4400c5a5ca89d2d
failed to consider the fact that the call graph update doesn't make any
sense if the caller node hasn't been populated in the LazyCallGraph yet.
This patch changes to skip this CG update step when that happens.



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