[all-commits] [llvm/llvm-project] dba418: [X86] combineAdd - fold (add (sub (shl x, c), y), ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jun 5 00:21:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dba418816731bc1cc677519fdbb77caca812ddda
      https://github.com/llvm/llvm-project/commit/dba418816731bc1cc677519fdbb77caca812ddda
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/addr-mode-matcher-3.ll
    M llvm/test/CodeGen/X86/apx/reloc-opt.ll
    M llvm/test/CodeGen/X86/buildvec-widen-dotproduct.ll
    M llvm/test/CodeGen/X86/mul-constant-i64.ll

  Log Message:
  -----------
  [X86] combineAdd - fold (add (sub (shl x, c), y), z) -> (sub (add (shl x, c), z), y) (#142734)

Attempt to keep adds/shifts closer together for LEA matching

Fixes #55714



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