There are two fixes here: one, AnalyzeUsesOfPointer can't return false until it has checked all the uses of the pointer. Two, if a global uses another global, we have to assume the address of the first global escapes. Fixes https://llvm.org/bugs/show_bug.cgi?id=30707 . Differential Revision: https://reviews.llvm.org/D25798 llvm-svn: 285034 |
||
|---|---|---|
| .. | ||
| 2008-09-03-ReadGlobals.ll | ||
| aliastest.ll | ||
| atomic-instrs.ll | ||
| chaining-analysis.ll | ||
| comdat-ipo.ll | ||
| dead-uses.ll | ||
| func-memattributes.ll | ||
| global-used-by-global.ll | ||
| inaccessiblememonly.ll | ||
| indirect-global.ll | ||
| memset-escape.ll | ||
| modreftest.ll | ||
| no-escape.ll | ||
| nonescaping-noalias.ll | ||
| pr12351.ll | ||
| pr25309.ll | ||
| purecse.ll | ||
| volatile-instrs.ll | ||
| weak-interposition.ll | ||