commit | 88c3cbe6a7249533e844a0387adc89221c520380 | [log] [tgz] |
---|---|---|
author | Eli Friedman <efriedma@codeaurora.org> | Thu Jul 19 23:02:07 2018 +0000 |
committer | Eli Friedman <efriedma@codeaurora.org> | Thu Jul 19 23:02:07 2018 +0000 |
tree | 38428e21f0d72e4621218e3205f6a2616cae3666 | |
parent | 7e9afd4946f5b68a80e549139b2d2d1d42f01687 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337507 91177308-0d34-0410-b5e6-96231b3b80d8