[all-commits] [llvm/llvm-project] 0e87f6: [AArch64][GlobalISel] Select narrow GPR constants ...

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Mon Aug 3 03:59:37 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e87f69d0c327612590f73b715c657c5096383c2
      https://github.com/llvm/llvm-project/commit/0e87f69d0c327612590f73b715c657c5096383c2
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2026-08-03 (Mon, 03 Aug 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/select-constant.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Select narrow GPR constants (#204322)

Select non-zero s8/s16 GPR constants as 32-bit MOV immediates during
instruction selection.

RegBankSelect already does this, but this gives instruction selection a
direct path instead of falling back which will help enable a simple fast
pure type-based RBS alternative.

Assisted-by: codex



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