[PATCH] D78881: [FlattenCFG] Fix `MergeIfRegion` in case then-path is empty
Ehud Katz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 26 10:05:37 PDT 2020
ekatz created this revision.
ekatz added reviewers: tstellar, chandlerc, kuhar, jvesely, dexonsmith.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
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).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D78881
Files:
llvm/lib/Transforms/Utils/FlattenCFG.cpp
llvm/test/Transforms/Util/flattencfg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78881.260172.patch
Type: text/x-patch
Size: 10528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200426/f0f6885c/attachment.bin>
More information about the llvm-commits
mailing list