aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-02-20 19:46:29 +0100
committerFlorian Hahn <flo@fhahn.com>2020-02-20 22:48:58 +0100
commit99809f98d7bb18dbe3be543942a4b467dff7e92e (patch)
tree93ca4d99dce2ea981600cd58ea067ddaffa48a4f /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parentc767cf24e48d9f6c17179abf2e42497601c7165b (diff)
downloadllvm-99809f98d7bb18dbe3be543942a4b467dff7e92e.zip
llvm-99809f98d7bb18dbe3be543942a4b467dff7e92e.tar.gz
llvm-99809f98d7bb18dbe3be543942a4b467dff7e92e.tar.bz2
[SCCP] Do not mark unknown loads as overdefined.
For tracked globals that are unknown after solving, we expect all non-store uses to be replaced. This is a follow-up to f8045b250d80, which removed forcedconstant. We should not mark unknown loads as overdefined, as they either load from an unknown pointer or an undef global. Restore the original logic for loads.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions