diff options
author | Matthew Simpson <mssimpso@codeaurora.org> | 2016-05-19 20:08:32 +0000 |
---|---|---|
committer | Matthew Simpson <mssimpso@codeaurora.org> | 2016-05-19 20:08:32 +0000 |
commit | 330a12554249445b4bbe6e6a8385c23842794e0c (patch) | |
tree | 2ec0d90e43e9020c6a0575fb44494270c3c74ecc /llvm/lib | |
parent | 9572372a311790dd1f29096bd683c59ffaf3ff53 (diff) | |
download | bcm5719-llvm-330a12554249445b4bbe6e6a8385c23842794e0c.tar.gz bcm5719-llvm-330a12554249445b4bbe6e6a8385c23842794e0c.zip |
[ARM, AArch64] Properly initialize InterleavedAccessPass
InterleavedAccessPass is an IR-level pass, so this change will enable testing
it with opt. This is part of D20250.
llvm-svn: 270101
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/CodeGen.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/CodeGen/InterleavedAccessPass.cpp | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp index d604fcfff57..04ea81f2b9c 100644 --- a/llvm/lib/CodeGen/CodeGen.cpp +++ b/llvm/lib/CodeGen/CodeGen.cpp @@ -34,6 +34,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) { initializeGCMachineCodeAnalysisPass(Registry); initializeGCModuleInfoPass(Registry); initializeIfConverterPass(Registry); + initializeInterleavedAccessPass(Registry); initializeLiveDebugVariablesPass(Registry); initializeLiveIntervalsPass(Registry); initializeLiveStacksPass(Registry); diff --git a/llvm/lib/CodeGen/InterleavedAccessPass.cpp b/llvm/lib/CodeGen/InterleavedAccessPass.cpp index 394499d5834..518e79543ba 100644 --- a/llvm/lib/CodeGen/InterleavedAccessPass.cpp +++ b/llvm/lib/CodeGen/InterleavedAccessPass.cpp @@ -58,10 +58,6 @@ static cl::opt<bool> LowerInterleavedAccesses( static unsigned MaxFactor; // The maximum supported interleave factor. -namespace llvm { -static void initializeInterleavedAccessPass(PassRegistry &); -} - namespace { class InterleavedAccess : public FunctionPass { |