diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2018-07-19 23:02:07 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2018-07-19 23:02:07 +0000 |
commit | a3c78f59814f90a06994f720d75ecbae2612c4c3 (patch) | |
tree | 54c89cd54b864769c320a9c1700657bf4ddf41db /llvm/lib/Support/SmallVector.cpp | |
parent | 8995c5f0f617769edbfb3e7c8510957feaa27501 (diff) | |
download | bcm5719-llvm-a3c78f59814f90a06994f720d75ecbae2612c4c3.tar.gz bcm5719-llvm-a3c78f59814f90a06994f720d75ecbae2612c4c3.zip |
[SCCP] Don't use markForcedConstant on branch conditions.
It's more aggressive than we need to be, and leads to strange
workarounds in other places like call return value inference. Instead,
just directly mark an edge viable.
Tests by Florian Hahn.
Differential Revision: https://reviews.llvm.org/D49408
llvm-svn: 337507
Diffstat (limited to 'llvm/lib/Support/SmallVector.cpp')
0 files changed, 0 insertions, 0 deletions