[PATCH] D12142: [PM/AA] Flesh out statistics to cover all the primary use cases of the old AliasAnalysisCounter pass.

Chad Rosier via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 05:11:39 PDT 2015


mcrosier added a subscriber: mcrosier.

================
Comment at: lib/Analysis/AliasAnalysis.cpp:109
@@ +108,3 @@
+        break;
+      case MayAlias:
+        ++NumMayAliasResults;
----------------
Given the check just before the switch (i.e., Result != MayAlias) can the MayAlias case ever be hit?


http://reviews.llvm.org/D12142





More information about the llvm-commits mailing list