[all-commits] [llvm/llvm-project] 6193f2: [AArch64] Assert `expandMOVImm` prioritizes optima...

Tomer Shafir via All-commits all-commits at lists.llvm.org
Tue Nov 25 00:48:45 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6193f2aeda1d5ca30cf990e28956824eefdc97f1
      https://github.com/llvm/llvm-project/commit/6193f2aeda1d5ca30cf990e28956824eefdc97f1
  Author: Tomer Shafir <tomer.shafir8 at gmail.com>
  Date:   2025-11-25 (Tue, 25 Nov 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ExpandImm.cpp

  Log Message:
  -----------
  [AArch64] Assert `expandMOVImm` prioritizes optimal single MOVZ/N (#169341)

The expansion of move immediate in `expandMOVImm` follows the priority
of the `MOV` alias. In addition, the selection there properly prefers
expansion based on perf optimality order. This change adds a simple
assert that `expandMOVImmSimple` expands a single optimal MOVZ/MOVK.



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