[PATCH] Add threshold for lowering lattice value 'overdefined' in LVI

hfinkel at anl.gov hfinkel at anl.gov
Thu Sep 11 22:39:33 PDT 2014


I'd really prefer that we keep this count per block, instead of a global count. Is that possible?

Also, please upload full-context diffs in the future (see: http://llvm.org/docs/Phabricator.html).

================
Comment at: lib/Analysis/LazyValueInfo.cpp:360
@@ -351,1 +359,3 @@
+    /// lowered.
+    unsigned LoweringOverdefinedTimes;
     
----------------
Could you make this a DenseMap<BasicBlock *, unsigned>, and keep a count per block?

http://reviews.llvm.org/D5322






More information about the llvm-commits mailing list