[PATCH] D29570: Fix the samplepgo indirect call promotion bug: we should not promote a direct call.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 12:32:29 PST 2017


danielcdh added inline comments.


================
Comment at: include/llvm/IR/CallSite.h:121
+        return false;
+    }
+    return true;
----------------
davidxl wrote:
> getCalledValue constant case?
I used "stripPointerCasts" on getCalledValue() so that this is not needed any more.


https://reviews.llvm.org/D29570





More information about the llvm-commits mailing list