[PATCH] D31344: Fix the InstCombine to reserve the VP metadata and sets correct call count.
    David Li via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar 30 19:47:55 PDT 2017
    
    
  
davidxl accepted this revision.
davidxl added a comment.
This revision is now accepted and ready to land.
lgtm
================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:4134
+    uint64_t W;
+    if (CI->extractProfTotalWeight(W))
+      NC->setProfWeight(W);
----------------
Add a comment here for the need of preserving vp data.
https://reviews.llvm.org/D31344
    
    
More information about the llvm-commits
mailing list