[all-commits] [llvm/llvm-project] 3cb967: [NFCI][PromoteMem2Reg] Don't handle the first succ...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue Jun 3 10:27:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3cb967a2cd9784d3846072121990bdfaa89b0d15
      https://github.com/llvm/llvm-project/commit/3cb967a2cd9784d3846072121990bdfaa89b0d15
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
    M llvm/test/Transforms/InstCombine/2009-02-20-InstCombine-SROA.ll
    M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll

  Log Message:
  -----------
  [NFCI][PromoteMem2Reg] Don't handle the first successor out of order (#142464)

Just for consistency, to avoid confusing conditions.

`reverse` helps to avoid tests updates as nothing is
changing for for successors count <=2.

For #142461



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