[llvm] [polly] [IR] Add CallBr intrinsics support (PR #133907)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 2 05:25:32 PDT 2025


================
@@ -1786,11 +1786,11 @@ void llvm::InvertBranch(BranchInst *PBI, IRBuilderBase &Builder) {
   PBI->swapSuccessors();
 }
 
-bool llvm::hasOnlySimpleTerminator(const Function &F) {
+bool llvm::hasOnlySimpleTerminator(const Function &F, bool AllowCallBr) {
----------------
arsenm wrote:

The answer is just no if CallBr is involved, this doesn't need an option? 

https://github.com/llvm/llvm-project/pull/133907


More information about the llvm-commits mailing list