[PATCH] D35585: [ScopInfo] Introduce tryGetValueStored

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 03:42:28 PDT 2017


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


================
Comment at: include/polly/ScopInfo.h:899
+    assert(isWrite() && "Only write statement store values");
+    if (isPHIKind()) {
+      if (Incoming.size() == 1)
----------------
[Serious] Must be `isAnyPHIKind()`. `AccessValue` of ExitPHIs are also only the PHINode itself, not the value written.


https://reviews.llvm.org/D35585





More information about the llvm-commits mailing list