[all-commits] [llvm/llvm-project] 111ddc: [FlattenCFG] Fix `MergeIfRegion` in case then-path...
Ehud Katz via All-commits
all-commits at lists.llvm.org
Thu May 21 04:07:56 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 111ddc57d3804d31c6d101821abd9688b3e0decc
https://github.com/llvm/llvm-project/commit/111ddc57d3804d31c6d101821abd9688b3e0decc
Author: Ehud Katz <ehudkatz at gmail.com>
Date: 2020-05-21 (Thu, 21 May 2020)
Changed paths:
M llvm/lib/Transforms/Utils/FlattenCFG.cpp
M llvm/test/Transforms/Util/flattencfg.ll
Log Message:
-----------
[FlattenCFG] Fix `MergeIfRegion` in case then-path is empty
In case the then-path of an if-region is empty, then merging with the
else-path should be handled with the inverse of the condition (leading
to that path).
Fix PR37662
Differential Revision: https://reviews.llvm.org/D78881
More information about the All-commits
mailing list