[PATCH] D49078: [CVP] Handle calls with void return value. No need to create CVPLattice state for it.

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 9 07:53:13 PDT 2018


davide accepted this revision.
davide added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/Transforms/IPO/CalledValuePropagation.cpp:289-290
     }
+
+    // Void return, just bail.
+    if (I->getType()->isVoidTy())
----------------
Can you expand this comment a bit? Otherwise, lgtm.


Repository:
  rL LLVM

https://reviews.llvm.org/D49078





More information about the llvm-commits mailing list