[PATCH] D29306: Expose isLegalToPromot as a global helper function so that SamplePGO pass can call it for legality check.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 14:15:17 PST 2017

danielcdh created this revision.

SamplePGO needs to check if it is legal to promote a target before it actually promotes it.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29306.86344.patch
Type: text/x-patch
Size: 5556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170130/ab9563a3/attachment.bin>

More information about the llvm-commits mailing list