[NewPM][CodeGen] Enable new pass manager codegen pipeline for BPF #94141
Labels
backend:BPF
llvm:codegen
metabug
Issue to collect references to a group of similar or related issues.
We should enable a constrained
O0
pipeline to generate object file ASAP. Although how to build codegen pipeline is still controversial (#89708), we still can port the rest machine function passes to generate object file.Test is another problem, a large part of codegen tests use --start/stop-before/after`, this brings some difficulty to the test.
BPF might be the simplest target in non-experimental targets, this might be a good place to start, but tests in BPF check only asm code, this is bad for testing.
CC @aeubanks
TODO list:
CodeGenPassBuilder
support: [NewPM][BPF] AddBPFCodeGenPassBuilder
#94158bpf-isel
finalize-isel
[NewPM][CodeGen] Portfinalize-isel
to new pass manager #94214local-stack-alloc
[NewPM][CodeGen] Portlocalstackalloc
to new pass manager #94303phi-node-elimination
MachineDominatorTreeAnalysis
[CodeGen][NewPM] Port machine dominator tree analysis to new pass manager #95879, [CodeGen] RemoveapplySplitCriticalEdges
inMachineDominatorTree
#97055MachinePostDominatorTreeAnalysis
[CodeGen][NewPM] Port machine post dominator tree analysis to new pass manager #96378MachineLoopAnalysis
[CodeGen][NewPM] Portmachine-loops
to new pass manager #97793LiveVariables
[CodeGen][NewPM] PortLiveVariables
to new pass manager #97880SlotIndexes
[CodeGen][NewPM] PortSlotIndexes
to new pass manager #97941LiveIntervals
[CodeGen][NewPM] PortLiveIntervals
to new pass manager #98118two-address-instruction
[CodeGen] Porttwo-address-instructions
to new pass manager #98632regallocfast
[NewPM][CodeGen] Portregallocfast
to new pass manager #94426post-ra-pseudos
bpf-mi-checking
asm-printer
MachineOptimizationRemarkEmitterPass
GCModuleInfo
done, but it need reverse iterator to iterate over strategiesMachineBlockFrequencyInfoPass
[CodeGen][NewPM] Portmachine-block-freq
to new pass manager #98317MachineBranchProbabilityAnalysis
Reapply "[CodeGen][NewPM] Port machine-branch-prob to new pass manager" (#96858) #96869The text was updated successfully, but these errors were encountered: