[all-commits] [llvm/llvm-project] 57bb10: [CodeGenPrepare] Prefix option names with cgp- (#2...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Oct 4 13:40:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57bb10210726e7daff16954d96afb7c36f91cbd0
      https://github.com/llvm/llvm-project/commit/57bb10210726e7daff16954d96afb7c36f91cbd0
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-10-04 (Sun, 04 Oct 2026)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenOptions.td
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-switch-bittest.ll
    M llvm/test/CodeGen/AArch64/and-sink.ll
    M llvm/test/CodeGen/AArch64/arm64-andCmpBrToTBZ.ll
    M llvm/test/CodeGen/AArch64/arm64-codegen-prepare-extload.ll
    M llvm/test/CodeGen/AArch64/fast-isel-int-ext2.ll
    M llvm/test/CodeGen/ARM/constants.ll
    M llvm/test/CodeGen/ARM/vector-promotion.ll
    M llvm/test/CodeGen/Hexagon/autohvx/lower-insert-elt.ll
    M llvm/test/CodeGen/Hexagon/postinc-offset.ll
    M llvm/test/CodeGen/Hexagon/swp-carried-1.ll
    M llvm/test/CodeGen/Hexagon/swp-epilog-phi12.ll
    M llvm/test/CodeGen/Hexagon/swp-epilog-phi6.ll
    M llvm/test/CodeGen/Hexagon/swp-epilog-phi9.ll
    M llvm/test/CodeGen/Hexagon/swp-lots-deps.ll
    M llvm/test/CodeGen/Hexagon/swp-prolog-phi.ll
    M llvm/test/CodeGen/Hexagon/swp-tfri.ll
    M llvm/test/CodeGen/Hexagon/v6-unaligned-spill.ll
    M llvm/test/CodeGen/Mips/brdelayslot.ll
    M llvm/test/CodeGen/PowerPC/sink-side-effect.ll
    M llvm/test/CodeGen/PowerPC/sms-iterator.ll
    M llvm/test/CodeGen/PowerPC/splitstore-check-volatile.ll
    M llvm/test/CodeGen/SystemZ/codegenprepare-splitstore.ll
    M llvm/test/CodeGen/Thumb/dyn-stackalloc.ll
    M llvm/test/CodeGen/Thumb2/2011-06-07-TwoAddrEarlyClobber.ll
    M llvm/test/CodeGen/X86/2008-04-16-ReMatBug.ll
    M llvm/test/CodeGen/X86/2012-10-18-crash-dagco.ll
    M llvm/test/CodeGen/X86/MachineSink-PHIUse.ll
    M llvm/test/CodeGen/X86/and-sink.ll
    M llvm/test/CodeGen/X86/avx512-i1test.ll
    M llvm/test/CodeGen/X86/cmov.ll
    M llvm/test/CodeGen/X86/codegen-prepare-extload.ll
    M llvm/test/CodeGen/X86/ins_subreg_coalesce-3.ll
    M llvm/test/CodeGen/X86/phi-immediate-factoring.ll
    M llvm/test/CodeGen/X86/pr3366.ll
    M llvm/test/CodeGen/X86/sext-i1.ll
    M llvm/test/CodeGen/X86/sink-blockfreq.ll
    M llvm/test/CodeGen/X86/split-store.ll
    M llvm/test/CodeGen/X86/tail-opts.ll
    M llvm/test/CodeGen/X86/x86-shrink-wrapping.ll
    M llvm/test/Transforms/CodeGenPrepare/ARM/sink-addrmode.ll
    M llvm/test/Transforms/CodeGenPrepare/ARM/sinkchain-inseltpoison.ll
    M llvm/test/Transforms/CodeGenPrepare/ARM/sinkchain.ll
    M llvm/test/Transforms/CodeGenPrepare/PowerPC/split-store-alignment.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/baseoffs-sext-bug.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/extend-sink-hoist.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt-inseltpoison.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/nonintegral.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/pr35658.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/sink-addr-recreate.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/sink-addr-reuse.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/sink-addrmode-base.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/split-store-alignment.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/store-extract-division-ub.ll

  Log Message:
  -----------
  [CodeGenPrepare] Prefix option names with cgp- (#228838)

Rename the CodeGenPrepare options so that they start with cgp-, and turn
the -disable-* options into positive options that default to true:

The section prefix options (-profile-guided-section-prefix, etc.) are
kept for now.

Aided by Opus 5.5



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list