[all-commits] [llvm/llvm-project] 259742: [SelectionDAG] Use unaligned store/load to move AV...

Manish Kausik H via All-commits all-commits at lists.llvm.org
Fri Aug 9 07:40:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 259742a88558325d76d9ec7e71e11a785e499af9
      https://github.com/llvm/llvm-project/commit/259742a88558325d76d9ec7e71e11a785e499af9
  Author: Manish Kausik H <46352931+Nirhar at users.noreply.github.com>
  Date:   2024-08-09 (Fri, 09 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    A llvm/test/CodeGen/X86/insert-into-vector-through-stack-no-stack-realign.ll

  Log Message:
  -----------
  [SelectionDAG] Use unaligned store/load to move AVX registers onto stack for `insertelement` (#82130)

Prior to this patch, SelectionDAG generated aligned move onto stacks for
AVX registers when the function was marked as a no-realign-stack
function. This lead to misalignment between the stack and the
instruction generated. This patch fixes the issue. There was a similar
issue reported for `extractelement` which was fixed in
a6614ec5b7c1dbfc4b847884c5de780cf75e8e9c

Co-authored-by: Manish Kausik H <hmamishkausik at gmail.com>



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