aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-08-31 13:45:54 +0000
committerTobias Grosser <tobias@grosser.es>2015-08-31 13:45:54 +0000
commitd213d52d0e9a228b088d0e9422ee611666c3595e (patch)
treebd1f0e56fa674bd904345701c48a68e6c287c932 /clang-tools-extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp
parentefeddcc552a0f0bfdaec6cea5e3a66ed1cf7dd11 (diff)
downloadllvm-d213d52d0e9a228b088d0e9422ee611666c3595e.zip
llvm-d213d52d0e9a228b088d0e9422ee611666c3595e.tar.gz
llvm-d213d52d0e9a228b088d0e9422ee611666c3595e.tar.bz2
Always use the branch instructions to model the PHI-node writes
Before this commit we did this only for Arguments or Constants, but indeed an instruction may define a value a lot higher up in the dominance tree, but the actual write generally needs to happen right before branching to the PHI node. Otherwise, the writes of different branches into PHI nodes may get intermixed if they lay higher up in the dominance tree. llvm-svn: 246441
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp')
0 files changed, 0 insertions, 0 deletions