[PATCH] D63890: [CodeGen] Define an interface for the new pass manager in CodeGen.
Charles Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 27 12:59:13 PDT 2019
czhang created this revision.
Herald added subscribers: llvm-commits, hiraditya, tpr, mgorny, nhaehnle, jvesely, mehdi_amini, arsenm, MatzeB.
Herald added a project: LLVM.
[CodeGen] Port MachineCopyPropagation to the new pass manager. NFC.
[CodeGen] Port MachineModuleInfo and allow llc to run the new PM.
This allows llc to run passes (currently only MCP) with the
new PM using the --run-new-passes option. --run-passes must be
specified to be none.
Patch for discussion -- Only two tests in AMDGPU fails due to questionable
usage of the legacy PM to access perf hints, which had to be commented out.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D63890
Files:
llvm/include/llvm/CodeGen/MachineCopyPropagation.h
llvm/include/llvm/CodeGen/MachineModuleInfo.h
llvm/include/llvm/CodeGen/PassManager.h
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Target/TargetMachine.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/BranchFolding.cpp
llvm/lib/CodeGen/CMakeLists.txt
llvm/lib/CodeGen/CodeGen.cpp
llvm/lib/CodeGen/GCRootLowering.cpp
llvm/lib/CodeGen/IfConversion.cpp
llvm/lib/CodeGen/LLVMTargetMachine.cpp
llvm/lib/CodeGen/MIRPrintingPass.cpp
llvm/lib/CodeGen/MachineBlockPlacement.cpp
llvm/lib/CodeGen/MachineCopyPropagation.cpp
llvm/lib/CodeGen/MachineFunctionPass.cpp
llvm/lib/CodeGen/MachineModuleInfo.cpp
llvm/lib/CodeGen/MachineOutliner.cpp
llvm/lib/CodeGen/PassManager.cpp
llvm/lib/CodeGen/UnreachableBlockElim.cpp
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
llvm/lib/Target/X86/X86InsertPrefetch.cpp
llvm/lib/Target/X86/X86RetpolineThunks.cpp
llvm/tools/llc/CMakeLists.txt
llvm/tools/llc/LLVMBuild.txt
llvm/tools/llc/llc.cpp
llvm/tools/llvm-exegesis/lib/Assembler.cpp
llvm/unittests/MI/LiveIntervalTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63890.206909.patch
Type: text/x-patch
Size: 56456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190627/c3c3a4a2/attachment.bin>
More information about the llvm-commits
mailing list