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

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 13:32:14 PST 2017


davidxl added inline comments.


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


https://reviews.llvm.org/D29570





More information about the llvm-commits mailing list