[all-commits] [llvm/llvm-project] 75d36d: [X86][SelectionDAG] Fix the Gather's base and inde...

Rohit Aggarwal via All-commits all-commits at lists.llvm.org
Tue May 13 07:37:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75d36dc5a77ba3759eef15aeca925a1400504c89
      https://github.com/llvm/llvm-project/commit/75d36dc5a77ba3759eef15aeca925a1400504c89
  Author: Rohit Aggarwal <44664450+rohitaggarwal007 at users.noreply.github.com>
  Date:   2025-05-13 (Tue, 13 May 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/masked_gather_scatter.ll

  Log Message:
  -----------
  [X86][SelectionDAG] Fix the Gather's base and index by modifying the Scale value (#137813)

Fix the Gather's base and index for one use or multiple uses of Index Node. Using the approach to update the Scale if SHL Opcode and followed by truncate.

---------

Co-authored-by: Rohit Aggarwal <Rohit.Aggarwal at amd.com>
Co-authored-by: Simon Pilgrim <llvm-dev at redking.me.uk>



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