- Remove redundant initializations from pass constructors that were already being initialized by LLVMInitializeX86Target().
- Move initialization of EdgeBundlesPass into LLVMInitializeX86Target.
Paths
| Differential D63218
X86: Clean up pass initialization ClosedPublic Authored by tstellar on Jun 12 2019, 9:34 AM.
Details Summary
Diff Detail
Event TimelineComment Actions Is the initializeEdgeBundlesPass because X86FloatingPoint.cpp doesn't have its own initialize function that could call INTIALIZE_PASS_DEPENDENCY? Comment Actions
Yes, that's what it looks like. Do you want me to update the patch to give X86FloatingPoint.cpp its own initialize function? Comment Actions
That would probably be better. I think the initialize function is needed to make print-before-all/print-after-all see the pass so its good to have. This revision is now accepted and ready to land.Jun 12 2019, 11:06 AM Closed by commit rL363221: X86: Clean up pass initialization (authored by tstellar). · Explain WhyJun 12 2019, 7:08 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 204405 llvm/trunk/lib/Target/X86/X86.h
llvm/trunk/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
llvm/trunk/lib/Target/X86/X86CallFrameOptimization.cpp
llvm/trunk/lib/Target/X86/X86CmovConversion.cpp
llvm/trunk/lib/Target/X86/X86CondBrFolding.cpp
llvm/trunk/lib/Target/X86/X86DomainReassignment.cpp
llvm/trunk/lib/Target/X86/X86EvexToVex.cpp
llvm/trunk/lib/Target/X86/X86FixupBWInsts.cpp
llvm/trunk/lib/Target/X86/X86FixupLEAs.cpp
llvm/trunk/lib/Target/X86/X86FlagsCopyLowering.cpp
llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp
llvm/trunk/lib/Target/X86/X86SpeculativeLoadHardening.cpp
llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
llvm/trunk/lib/Target/X86/X86WinEHState.cpp
|