[PATCH] D122959: [ARM] Only update the successor edges for immediate predecessors of PrologueMBB.
John Brawn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 28 08:29:13 PDT 2022
john.brawn added a comment.
In D122959#3475470 <https://reviews.llvm.org/D122959#3475470>, @ZhiyaoMa98 wrote:
> I would like to add a test, but I do not know how. My understanding is that I will need to create an example that PrologueMBB has non-immediate predecessors. Is there any example I can follow? Thanks!
It may be easiest to start with the original file they you saw the segfault. Adding "--emit llvm-ir" to the rustc command-line will cause a .ll file to be produced, then doing "bugpoint -run-llc file.ll" should hopefully reduce that down to a simple test case.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122959/new/
https://reviews.llvm.org/D122959
More information about the llvm-commits
mailing list