[LoopDataPrefetch] Make it testable with opt
authorAdam Nemet <anemet@apple.com>
Mon, 22 Feb 2016 21:41:22 +0000 (21:41 +0000)
committerAdam Nemet <anemet@apple.com>
Mon, 22 Feb 2016 21:41:22 +0000 (21:41 +0000)
commitfb31d580ea5e887159a1bc684a357a7b2e27e123
tree2863bd86528608388b7dc2c6592a79bb2c870430
parentd84f60065366d99c3aca4c8f917a35ab9ce4e7f5
[LoopDataPrefetch] Make it testable with opt

Summary:
Since this is an IR pass it's nice to be able to write tests without
llc.  This is the counterpart of the llc test under
CodeGen/PowerPC/loop-data-prefetch.ll.

Reviewers: hfinkel

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D17464

llvm-svn: 261578
llvm/include/llvm/InitializePasses.h
llvm/lib/Transforms/Scalar/Scalar.cpp
llvm/test/Transforms/LoopDataPrefetch/PowerPC/basic.ll [new file with mode: 0644]
llvm/test/Transforms/LoopDataPrefetch/PowerPC/lit.local.cfg [new file with mode: 0644]