commit | 31047306fcee68d62fef616a8e351d428001b84b | [log] [tgz] |
---|---|---|
author | George Burgess IV <george.burgess.iv@gmail.com> | Tue May 31 19:55:05 2016 +0000 |
committer | George Burgess IV <george.burgess.iv@gmail.com> | Tue May 31 19:55:05 2016 +0000 |
tree | 70c5f33f0c78c3f9fc98a4dbc72277234e7ca3af | |
parent | 2027459e9ab8c63e2377317ce5b1000bf2fdfdfb [diff] |
[CFLAA] Don't link GEP pointers to GEP indices. Code like the following is considered broken, and doesn't need to be supported by our AA magicks: void getFoo(int *P) { int *PAlias = (int *)((char *)NULL + (uintptr_t)P); } This patch makes CFLAA drop support for code like this. Patch by Jia Chen. Differential Revision: http://reviews.llvm.org/D20775 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271322 91177308-0d34-0410-b5e6-96231b3b80d8