diff options
author | Adam Nemet <anemet@apple.com> | 2016-02-18 21:38:19 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2016-02-18 21:38:19 +0000 |
commit | 9d9cb274ea8830e0163e58a2fe0ff2b20ea367d3 (patch) | |
tree | 1debd1e966f811206abc5355bd14d2cc364d6c47 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | |
parent | 7cf9b1bf0515dd630012f9f667dba84bf2b966b5 (diff) | |
download | bcm5719-llvm-9d9cb274ea8830e0163e58a2fe0ff2b20ea367d3.tar.gz bcm5719-llvm-9d9cb274ea8830e0163e58a2fe0ff2b20ea367d3.zip |
[PPCLoopDataPrefetch] Move pass to Transforms/Scalar/LoopDataPrefetch. NFC
This patch is part of the work to make PPCLoopDataPrefetch
target-independent
(http://thread.gmane.org/gmane.comp.compilers.llvm.devel/92758).
Obviously the pass still only used from PPC at this point. Subsequent
patches will start driving this from ARM64 as well.
Due to the previous patch most lines should show up as moved lines.
llvm-svn: 261265
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp index d24b590317f..230f2f9c5f2 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -313,7 +313,7 @@ void PPCPassConfig::addIRPasses() { if (EnablePrefetch.getNumOccurrences() > 0) UsePrefetching = EnablePrefetch; if (UsePrefetching) - addPass(createPPCLoopDataPrefetchPass()); + addPass(createLoopDataPrefetchPass()); if (TM->getOptLevel() == CodeGenOpt::Aggressive && EnableGEPOpt) { // Call SeparateConstOffsetFromGEP pass to extract constants within indices |