[all-commits] [llvm/llvm-project] 91647a: [X86][SSE] Don't emit SSE2 load instructions in SS...

Stefan Schmidt via All-commits all-commits at lists.llvm.org
Fri Apr 11 11:38:40 PDT 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 91647ae0dffed1dedcd9ef9214e1ea849b391bbe
      https://github.com/llvm/llvm-project/commit/91647ae0dffed1dedcd9ef9214e1ea849b391bbe
  Author: Stefan Schmidt <thrimbor at users.noreply.github.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86FixupVectorConstants.cpp
    A llvm/test/CodeGen/X86/pr134607.ll

  Log Message:
  -----------
  [X86][SSE] Don't emit SSE2 load instructions in SSE1-only mode (#134547)

This fixes a regression I traced back to
https://github.com/llvm/llvm-project/commit/8b43c1be23119c1024bed0a8ce392bc73727e2e2
/ https://github.com/llvm/llvm-project/pull/79000

The regression caused an SSE2 instruction, `movsd`, to be emitted as a
replacement for an SSE instruction, `movaps` despite the target
potentially not supporting this instruction, such as when building with
clang using `-march=pentium3`.

Fixes #134607

(cherry picked from commit 08e080ee98832c2aec6f379b04f486bea18730cc)



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