Since D129288, callbr is allowed to have duplicate successors. This patch removes a limitation which prevents optimizations from actually producing such callbrs. This is probably the riskiest of all the recent callbr changes, because code with incorrect assumptions might be lurking somewhere. I fixed the one case I encountered ahead of time in8201e3ef5c. Reviewed By: nickdesaulniers Differential Revision: https://reviews.llvm.org/D129997 Originally landed as commit08860f525a("[Local] Allow creating callbr with duplicate successors") Reverted in commit1cf6b93df1("Revert "[Local] Allow creating callbr with duplicate successors"")
127 KiB
127 KiB