[all-commits] [llvm/llvm-project] 8502c5: [FlattenCFG] Replace branch condition with a creat...
Max Kazantsev via All-commits
all-commits at lists.llvm.org
Fri Apr 21 02:50:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8502c545771ee6c740b0ffc10863dcb4546f6e75
https://github.com/llvm/llvm-project/commit/8502c545771ee6c740b0ffc10863dcb4546f6e75
Author: Max Kazantsev <mkazantsev at azul.com>
Date: 2023-04-21 (Fri, 21 Apr 2023)
Changed paths:
M llvm/lib/Transforms/Utils/FlattenCFG.cpp
M llvm/test/Transforms/Util/flattencfg.ll
Log Message:
-----------
[FlattenCFG] Replace branch condition with a created one correctly
Fix case when FlattenCFGOpt combines the conditions but doesn't update
branch with a new combined condition. It happens when one of the
combinable condition is inverted and has more then 1 user
Patch by Aleksandr Popov!
Differential Revision: https://reviews.llvm.org/D148707
More information about the All-commits
mailing list