summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-01-22 18:30:33 -0800
committerHans Wennborg <hans@chromium.org>2020-02-06 13:41:07 +0100
commitc0c5ab30179897944cf44efac1c743e5344924db (patch)
treead42ac5be7c08510acd9448c433cf9853b576610 /clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
parent02420968fcce71ed669b4a87e62c27d65fd8a1c4 (diff)
downloadbcm5719-llvm-c0c5ab30179897944cf44efac1c743e5344924db.tar.gz
bcm5719-llvm-c0c5ab30179897944cf44efac1c743e5344924db.zip
[LV] Fix predication for branches with matching true and false succs.
Currently due to the edge caching, we create wrong predicates for branches with matching true and false successors. We will cache the condition for the edge from the true successor, and then lookup the same edge (src and dst are the same) for the edge to the false successor. If both successors match, the condition should always be true. At the moment, we cannot really create constant VPValues, but we can just create a true condition as X | !X. Later passes will clean that up. Fixes PR44488. Reviewers: rengolin, hsaito, fhahn, Ayal, dorit, gilr Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D73079 (cherry picked from commit f14f2a856802e086662d919e2ead641718b27555)
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiateDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud