[all-commits] [llvm/llvm-project] f95553: [Attributor] Return uses do not free pointers
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Tue Feb 11 09:03:43 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f95553923f95f0c87b7ebbe5f8e41d313292dfda
https://github.com/llvm/llvm-project/commit/f95553923f95f0c87b7ebbe5f8e41d313292dfda
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2020-02-11 (Tue, 11 Feb 2020)
Changed paths:
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/test/Transforms/Attributor/returned.ll
Log Message:
-----------
[Attributor] Return uses do not free pointers
If a pointer is returned that does not mean it is freed in the current
(function) scope. We can ignore such uses in AANoFree.
More information about the All-commits
mailing list