[all-commits] [llvm/llvm-project] a768bc: [SelectionDAG] Use unaligned store to move AVX reg...

Manish Kausik H via All-commits all-commits at lists.llvm.org
Fri Feb 2 09:19:43 PST 2024


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    A llvm/test/CodeGen/X86/unaligned_extract_from_vector_through_stack.ll

  Log Message:
  -----------
  [SelectionDAG] Use unaligned store to move AVX registers onto stack for `extractelement` (#78422)

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.

Fixes #77730




More information about the All-commits mailing list