[PATCH] D39973: Fix CaptureTracking for llvm.invariant.group.barrier

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 14:52:22 PST 2017


arsenm added inline comments.


================
Comment at: lib/Analysis/CaptureTracking.cpp:244
+      if (CS.onlyReadsMemory() && CS.doesNotThrow() &&
+          (I->getType()->isVoidTy() || I->use_empty()))
         break;
----------------
I don't understand the I->use_empty() check, or how this is related to the address space change


https://reviews.llvm.org/D39973





More information about the llvm-commits mailing list