mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 19:59:57 +00:00
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270101 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
73cd9cf448
commit
d06ea8a8f4
@ -158,6 +158,7 @@ void initializeInlineCostAnalysisPass(PassRegistry&);
|
||||
void initializeInstructionCombiningPassPass(PassRegistry&);
|
||||
void initializeInstCountPass(PassRegistry&);
|
||||
void initializeInstNamerPass(PassRegistry&);
|
||||
void initializeInterleavedAccessPass(PassRegistry &);
|
||||
void initializeInternalizeLegacyPassPass(PassRegistry&);
|
||||
void initializeIntervalPartitionPass(PassRegistry&);
|
||||
void initializeIRTranslatorPass(PassRegistry &);
|
||||
|
@ -34,6 +34,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
|
||||
initializeGCMachineCodeAnalysisPass(Registry);
|
||||
initializeGCModuleInfoPass(Registry);
|
||||
initializeIfConverterPass(Registry);
|
||||
initializeInterleavedAccessPass(Registry);
|
||||
initializeLiveDebugVariablesPass(Registry);
|
||||
initializeLiveIntervalsPass(Registry);
|
||||
initializeLiveStacksPass(Registry);
|
||||
|
@ -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 {
|
||||
|
@ -363,6 +363,7 @@ int main(int argc, char **argv) {
|
||||
initializeSjLjEHPreparePass(Registry);
|
||||
initializePreISelIntrinsicLoweringPass(Registry);
|
||||
initializeGlobalMergePass(Registry);
|
||||
initializeInterleavedAccessPass(Registry);
|
||||
|
||||
#ifdef LINK_POLLY_INTO_TOOLS
|
||||
polly::initializePollyPasses(Registry);
|
||||
|
Loading…
Reference in New Issue
Block a user