| commit | 5d4e20587494c6e90e1f606ce8859a1c793ad37c | [log] [tgz] |
|---|---|---|
| author | Nadav Rotem <nrotem@apple.com> | Mon Aug 13 23:03:43 2012 +0000 |
| committer | Nadav Rotem <nrotem@apple.com> | Mon Aug 13 23:03:43 2012 +0000 |
| tree | feb5e2a34de969e22f24c2af7041d4b8fc983d8d | |
| parent | b4e1ba7191bcf2d2e2d8a2e3ae5b251890bf375f [diff] |
MemoryDependenceAnalysis attempts to find the first memory dependency for function calls. Currently, if GetLocation reports that it did not find a valid pointer (this is the case for volatile load/stores), we ignore the result. This patch adds code to handle the cases where we did not obtain a valid pointer. rdar://11872864 PR12899 llvm-svn: 161802