commit | 80fd5b26e38777ffeda17d249687a50193c51a7f | [log] [tgz] |
---|---|---|
author | Sanjoy Das <sanjoy@playingwithpointers.com> | Thu Apr 21 19:26:45 2016 +0000 |
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | Thu Apr 21 19:26:45 2016 +0000 |
tree | 55345abb254f6e72ec03ea3cbf06234e71eb3656 | |
parent | c552ed7f63b0dace34e0b86525c79fa9a57b3a0d [diff] |
Folding compares with unescaped allocations Summary: If we know that the pointer allocated within a function does not escape, we can fold away comparisons that are done with global pointers Patch by Anna Thomas! Reviewers: reames, majnemer, sanjoy Subscribers: mgrang, mcrosier, majnemer, llvm-commits Differential Revision: http://reviews.llvm.org/D19276 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267035 91177308-0d34-0410-b5e6-96231b3b80d8