[PATCH] D37176: Create PHI node for the return value only when the return value has uses.

Taewook Oh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 10:43:08 PDT 2017


twoh updated this revision to Diff 112917.
twoh added a comment.

Addressing @davidxl and @xur's comment. Thanks!


https://reviews.llvm.org/D37176

Files:
  lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
  test/Transforms/PGOProfile/icp_covariant_call_return.ll
  test/Transforms/PGOProfile/icp_invoke_nouse.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37176.112917.patch
Type: text/x-patch
Size: 4025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170828/0e6b4b20/attachment.bin>


More information about the llvm-commits mailing list