[all-commits] [llvm/llvm-project] 6e725a: CodeGen: Remove TargetOptions::LoopAlignment

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Sep 25 04:43:28 PDT 2026


  Branch: refs/heads/users/arsenm/codegen/remove-targetoptions-loopalignment
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e725ad9078333cf5cdee3a5a404e7fb7c1ca30f
      https://github.com/llvm/llvm-project/commit/6e725ad9078333cf5cdee3a5a404e7fb7c1ca30f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M llvm/include/llvm/CodeGen/CommandFlags.h
    M llvm/include/llvm/Target/TargetOptions.h
    M llvm/lib/CodeGen/CommandFlags.cpp
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/aarch64-p2align-max-bytes-neoverse.ll
    M llvm/test/CodeGen/AArch64/aarch64-p2align-max-bytes.ll
    M llvm/test/CodeGen/RISCV/align-loops.ll
    M llvm/test/CodeGen/X86/code-align-loops.ll
    M llvm/test/CodeGen/X86/innermost-loop-alignment.ll

  Log Message:
  -----------
  CodeGen: Remove TargetOptions::LoopAlignment

Delete the module-wide LoopAlignment override and llc's -align-loops
flag that fed it. Loop alignment is now expressed solely through
per-loop llvm.loop.align metadata.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>



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