author | Benjamin Kramer <benny.kra@googlemail.com> | |
Thu, 3 Oct 2013 13:24:02 +0000 (13:24 +0000) | ||
committer | Benjamin Kramer <benny.kra@googlemail.com> | |
Thu, 3 Oct 2013 13:24:02 +0000 (13:24 +0000) | ||
commit | 4d63c8daec1759e60f85a49b7a91f88edf0c0a4d | |
tree | 276ff9d15c9a136e938063222196a9d4d1333c2f | tree | snapshot (tar.xz tar.gz zip) |
parent | 20357662a04f0a7f2f0850d072d0fafb0c53b90c | commit | diff |
CaptureTracking: Plug a loophole in the "too many uses" heuristic.
The heuristic was added to avoid spending too much compile time A specially
crafted test case (PR17461, PR16474) with many uses on a select or bitcast
instruction can still trigger the slow case. Add a check for that case.
This only affects compile time, don't have a good way to test it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191896 91177308-0d34-0410-b5e6-96231b3b80d8
The heuristic was added to avoid spending too much compile time A specially
crafted test case (PR17461, PR16474) with many uses on a select or bitcast
instruction can still trigger the slow case. Add a check for that case.
This only affects compile time, don't have a good way to test it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191896 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CaptureTracking.cpp | diff | blob | history |