[PATCH] D14893: [llvm-profdata] Change instr prof counter overflow to saturate rather than discard
    David Li via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Nov 29 09:43:41 PST 2015
    
    
  
davidxl added inline comments.
================
Comment at: include/llvm/ProfileData/InstrProf.h:428
@@ +427,3 @@
+    instrprof_error MergeValueResult = mergeValueProfData(Kind, Other);
+    if (Result == instrprof_error::success)
+      Result = MergeValueResult;
----------------
Should this be Result != success?
http://reviews.llvm.org/D14893
    
    
More information about the llvm-commits
mailing list