diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-04-21 19:26:45 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-04-21 19:26:45 +0000 |
commit | a085cfc1503bcd37b207d1d4d6266e9ad64685a0 (patch) | |
tree | df56f3a5987aa4d117b85c76e9db29daab34caf7 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 5de5910d7db5faa2baafe98450b248d1cdb279c6 (diff) | |
download | llvm-a085cfc1503bcd37b207d1d4d6266e9ad64685a0.zip llvm-a085cfc1503bcd37b207d1d4d6266e9ad64685a0.tar.gz llvm-a085cfc1503bcd37b207d1d4d6266e9ad64685a0.tar.bz2 |
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
llvm-svn: 267035
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions