[PATCH] [MemoryDependenceAnalysis] Support -analyze

Daniel Berlin dberlin at dberlin.org
Wed May 13 10:22:39 PDT 2015


As an aside, relying on MemoryDependence to give you inter-iteration
access dependence is ... not a great idea.
I know load-pre currently relies on this + PHITranslation hacks[1],
(and i've made memoryssa do it so new load pre can do it), PRE of loop
iterations like this is probably a problem that should be solved a
better way.

[1] PHITransAddr's logic to do gep simplification by looking for
things that have the same value (it literally does local value
numbering), and  propagating constants through additions that appear
in PHI translated operations is pretty much a hack, and if you want to
get more cases, we shouldn't be piling on hacks.


http://reviews.llvm.org/D9548

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list