The print-memdeps pass was written to be used with opt's -analyze feature. If you run opt -print-memdeps -analyze, it prints. http://llvm-reviews.chandlerc.com/D2333