From f236a490c3f5f9d52b4bd202fa866e8dede38d90 Mon Sep 17 00:00:00 2001 From: Alessandro Di Federico Date: Thu, 28 Jul 2022 21:21:47 +0200 Subject: [PATCH] GCBI::getSuccessors: make `.Other` additive Previously, if `.Other` was set, all the other fields where unset. --- lib/BasicAnalyses/GeneratedCodeBasicInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/BasicAnalyses/GeneratedCodeBasicInfo.cpp b/lib/BasicAnalyses/GeneratedCodeBasicInfo.cpp index e64ccf7f4..48165c5ec 100644 --- a/lib/BasicAnalyses/GeneratedCodeBasicInfo.cpp +++ b/lib/BasicAnalyses/GeneratedCodeBasicInfo.cpp @@ -144,7 +144,7 @@ GeneratedCodeBasicInfo::getSuccessors(BasicBlock *BB) { } else if (getType(Successor) == IBDHB) { // Ignore } else { - return SuccessorsList::other(); + Result.Other = true; } } }