Commit c2dafe12dc2 ("[SimplifyCFG] Skip merging return blocks if it would break a CallBr.") fixes an assertion seen when building the s390 Linux kernel. I have verified that it builds, passes ninja check-llvm, and fixes the issue.
Hi Craig, Is this safe to backport? https://reviews.llvm.org/rGc2dafe12dc24f7f1326f5c4c6a3b23f1485f1bd6
I think it should be safe to backport.
Merged: 5fbba36cbe9