aadg added a subscriber: aadg.
aadg added a comment.

Just a minor nitpick (see below)


================
Comment at: lib/CodeGen/CGCall.cpp:2332
@@ -2331,2 +2331,3 @@
   if (!store) return nullptr;
+  if (store->getPointerOperand() != CGF.ReturnValue) return nullptr;
 
----------------
It might be worth stating in a comment why this is needed --- for the benefit 
of people who will read this code later.


Repository:
  rL LLVM

http://reviews.llvm.org/D12400



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to