[all-commits] [llvm/llvm-project] a1c1cd: [AlignmentFromAssumes] Skip huge alignment (#202567)

Hongyu Chen via All-commits all-commits at lists.llvm.org
Tue Jun 9 04:04:26 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1c1cdd44b372c08125d2b6a4aa445620cd284a3
      https://github.com/llvm/llvm-project/commit/a1c1cdd44b372c08125d2b6a4aa445620cd284a3
  Author: Hongyu Chen <xxs_chy at outlook.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
    M llvm/test/Transforms/AlignmentFromAssumptions/simple.ll

  Log Message:
  -----------
  [AlignmentFromAssumes] Skip huge alignment (#202567)

Fixes https://github.com/llvm/llvm-project/issues/202043
Though `align` on huge alignment is not supported, the case below
confirms we allow huge alignment in `assume`:
https://github.com/llvm/llvm-project/blob/c4f4206ff3ab97db9577f11bb2dabd40896bcca9/llvm/test/Transforms/InstCombine/assume.ll#L71
In this case, we should skip huge alignment in AlignmentFromAssumes.



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