[PATCH] [MemoryDependenceAnalysis] Support -analyze

Adam Nemet anemet at apple.com
Thu May 7 00:55:48 PDT 2015


Hi hfinkel, reames,

I was trying to debug a missed Load-PRE optimization (see the testcase)
and found that there was no convenient way to do this.  This
adds -analyze support to memdep and a testcase which demonstrates a
trick to do this in case one wants non-local dependence analysis (like
GVN).

Admittedly, this is pretty non-local dep focused right now but it's
certainly better that what we have currently.

http://reviews.llvm.org/D9548

Files:
  include/llvm/Analysis/MemoryDependenceAnalysis.h
  lib/Analysis/MemoryDependenceAnalysis.cpp
  test/Analysis/MemoryDependenceAnalysis/analyze-option.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9548.25140.patch
Type: text/x-patch
Size: 5561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150507/c4ebd1c9/attachment.bin>


More information about the llvm-commits mailing list