[all-commits] [llvm/llvm-project] f1ec0d: Port CodeGenPrepare to new pass manager (and Basic...

Nick Anderson via All-commits all-commits at lists.llvm.org
Mon Jan 8 22:33:14 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1ec0d12bb0843f0deab83ef2b5cf1339cbc4f0b
      https://github.com/llvm/llvm-project/commit/f1ec0d12bb0843f0deab83ef2b5cf1339cbc4f0b
  Author: Nick Anderson <nickleus27 at gmail.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h
    A llvm/include/llvm/CodeGen/CodeGenPrepare.h
    M llvm/include/llvm/CodeGen/Passes.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/LinkAllPasses.h
    M llvm/lib/CodeGen/BasicBlockPathCloning.cpp
    M llvm/lib/CodeGen/BasicBlockSections.cpp
    M llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/test/CodeGen/AArch64/aarch64-codegen-prepare-atp.ll
    M llvm/test/CodeGen/AArch64/and-sink.ll
    M llvm/test/CodeGen/AArch64/arm64-bitfield-extract.ll
    M llvm/test/CodeGen/AArch64/arm64-codegen-prepare-extload.ll
    M llvm/test/CodeGen/AArch64/arm64_32-gep-sink.ll
    M llvm/test/CodeGen/AArch64/cgp-trivial-phi-node.ll
    M llvm/test/CodeGen/AArch64/convertphitype.ll
    M llvm/test/CodeGen/AArch64/scalable-vector-promotion.ll
    M llvm/test/CodeGen/AArch64/sve-vscale.ll
    M llvm/test/CodeGen/AArch64/sve2-vscale-sinking.ll
    M llvm/test/CodeGen/AMDGPU/cgp-addressing-modes-flat.ll
    M llvm/test/CodeGen/AMDGPU/cgp-addressing-modes-gfx1030.ll
    M llvm/test/CodeGen/AMDGPU/cgp-addressing-modes-gfx908.ll
    M llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
    M llvm/test/CodeGen/ARM/vector-promotion.ll
    M llvm/test/CodeGen/Generic/addr-sink-call-multi-arg.ll
    M llvm/test/CodeGen/Generic/addr-use-count.ll
    M llvm/test/CodeGen/X86/callbr-codegenprepare.ll
    M llvm/test/CodeGen/X86/codegen-prepare-addrmode-sext.ll
    M llvm/test/CodeGen/X86/codegen-prepare-extload.ll
    M llvm/test/CodeGen/X86/convertphitype.ll
    M llvm/test/CodeGen/X86/indirect-br-gep-unmerge.ll
    M llvm/test/CodeGen/X86/pr58538.ll
    M llvm/test/CodeGen/X86/tailcall-cgp-dup.ll
    M llvm/test/CodeGen/X86/tailcall-extract.ll
    M llvm/test/DebugInfo/ARM/salvage-debug-info.ll
    M llvm/test/DebugInfo/X86/zextload.ll
    M llvm/test/Other/codegenprepare-and-debug.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/combine-address-mode.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/free-zext.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt-inseltpoison.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/overflow-intrinsics.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/sink-gather-scatter-addressing.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/trunc-weird-user.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/zext-to-shuffle.ll
    M llvm/test/Transforms/CodeGenPrepare/AMDGPU/addressing-modes.ll
    M llvm/test/Transforms/CodeGenPrepare/AMDGPU/no-sink-addrspacecast.ll
    M llvm/test/Transforms/CodeGenPrepare/AMDGPU/sink-addrspacecast.ll
    M llvm/test/Transforms/CodeGenPrepare/ARM/branch-on-zero.ll
    M llvm/test/Transforms/CodeGenPrepare/ARM/dead-gep.ll
    M llvm/test/Transforms/CodeGenPrepare/ARM/memory-intrinsics.ll
    M llvm/test/Transforms/CodeGenPrepare/ARM/overflow-intrinsics.ll
    M llvm/test/Transforms/CodeGenPrepare/ARM/sink-addrmode.ll
    M llvm/test/Transforms/CodeGenPrepare/ARM/splitgep.ll
    M llvm/test/Transforms/CodeGenPrepare/ARM/tailcall-dup.ll
    M llvm/test/Transforms/CodeGenPrepare/NVPTX/bypass-slow-div-constant-numerator.ll
    M llvm/test/Transforms/CodeGenPrepare/NVPTX/bypass-slow-div-not-exact.ll
    M llvm/test/Transforms/CodeGenPrepare/NVPTX/bypass-slow-div-special-cases.ll
    M llvm/test/Transforms/CodeGenPrepare/NVPTX/bypass-slow-div.ll
    M llvm/test/Transforms/CodeGenPrepare/NVPTX/dont-introduce-addrspacecast.ll
    M llvm/test/Transforms/CodeGenPrepare/NVPTX/dont-sink-nop-addrspacecast.ll
    M llvm/test/Transforms/CodeGenPrepare/PowerPC/split-store-alignment.ll
    M llvm/test/Transforms/CodeGenPrepare/RISCV/and-mask-sink.ll
    M llvm/test/Transforms/CodeGenPrepare/RISCV/cttz-ctlz.ll
    M llvm/test/Transforms/CodeGenPrepare/SPARC/overflow-intrinsics.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/cgp_shuffle_crash-inseltpoison.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/cgp_shuffle_crash.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/computedgoto.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/cttz-ctlz.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/delete-assume-dead-code.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/extend-sink-hoist.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/freeze-brcond.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt-inseltpoison.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/gep-unmerging.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/invariant.group.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/masked-gather-struct-gep.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/nonintegral.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/optimizeSelect-DT.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/overflow-intrinsics.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/pr27536.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/pr35658.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/pr72046.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/recursively-delete-dead-instructions.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/remove-assume-block.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/select.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/sink-addrmode-base.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/sink-addrmode-inseltpoison.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/sink-addrmode-select.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/sink-addrmode-two-phi.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/sink-addrmode.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/sink-addrspacecast.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/split-indirect-loop.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/split-store-alignment.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/statepoint-relocate.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/tailcall-assume-xbb.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/vec-shift-inseltpoison.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/vec-shift.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/widenable-condition.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/x86-shuffle-sink-inseltpoison.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/x86-shuffle-sink.ll
    M llvm/test/Transforms/CodeGenPrepare/dead-allocation.ll
    M llvm/test/Transforms/CodeGenPrepare/skip-merging-case-block.ll
    M llvm/test/Transforms/HotColdSplit/coldentrycount.ll
    M llvm/test/Transforms/LoadStoreVectorizer/X86/codegenprepare-produced-address-math.ll
    M llvm/test/Transforms/SampleProfile/section-accurate-samplepgo.ll
    M llvm/tools/opt/opt.cpp

  Log Message:
  -----------
  Port CodeGenPrepare to new pass manager (and BasicBlockSectionsProfil… (#77182)

Port CodeGenPrepare to new pass manager and dependency
BasicBlockSectionsProfileReader
Fixes: #75380

Co-authored-by: Krishna-13-cyber <84722531+Krishna-13-cyber at users.noreply.github.com>




More information about the All-commits mailing list