[all-commits] [llvm/llvm-project] f0687b: [IRGen] Handle infinite cycles in findDominatingSt...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed May 24 12:17:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f0687b47a0ce82da07127fee4fe6af801df54ca6
https://github.com/llvm/llvm-project/commit/f0687b47a0ce82da07127fee4fe6af801df54ca6
Author: Florian Hahn <flo at fhahn.com>
Date: 2023-05-24 (Wed, 24 May 2023)
Changed paths:
M clang/lib/CodeGen/CGCall.cpp
A clang/test/CodeGen/dominating-store-infinite-cycle.c
Log Message:
-----------
[IRGen] Handle infinite cycles in findDominatingStoreToReturnValue.
If there is an infinite cycle in the IR, the loop will never exit. Keep
track of visited basic blocks in a set and return nullptr if a block is
visited again.
Fixes #62830.
Reviewed By: rjmccall
Differential Revision: https://reviews.llvm.org/D151076
More information about the All-commits
mailing list