[PATCH] D28834: Improve what can be promoted in LICM.

Xin Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 19:16:44 PST 2017

trentxintong updated this revision to Diff 84793.
trentxintong added a comment.

Address comments.

1. Call PointerMayBeCaptured only once.
2. 2 test cases for malloced memory, first can escape and the other cant.

Make sure only the latter is promoted.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28834.84793.patch
Type: text/x-patch
Size: 6886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170118/b4968dfc/attachment.bin>

More information about the llvm-commits mailing list