diff options
author | Nikita Popov <npopov@redhat.com> | 2022-04-20 14:02:46 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-04-22 09:42:11 +0200 |
commit | df18e37541a2316a2c79774ef16000c063c292c7 (patch) | |
tree | 544328a438fb1564648f5a6921651dd98b2c0bb3 /clang/lib/Frontend/FrontendOptions.cpp | |
parent | 6c81b4a01e4956d70dac1a5733c063014e4fbe38 (diff) | |
download | llvm-df18e37541a2316a2c79774ef16000c063c292c7.zip llvm-df18e37541a2316a2c79774ef16000c063c292c7.tar.gz llvm-df18e37541a2316a2c79774ef16000c063c292c7.tar.bz2 |
Reapply [SimplifyCFG] Make FoldCondBranchOnPHI more amenable to extension (NFCI)
Reapply with SmallMapVector instead of SmallDenseMap, which should
address the non-determinism issue.
-----
This general threading transform can be performed whenever we know
a constant value for the condition in a predecessor, which would
currently just be the case of a phi node with constant arguments.
Diffstat (limited to 'clang/lib/Frontend/FrontendOptions.cpp')
0 files changed, 0 insertions, 0 deletions