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

Stefan Schmidt via All-commits all-commits at lists.llvm.org
Wed Apr 9 02:19:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08e080ee98832c2aec6f379b04f486bea18730cc
      https://github.com/llvm/llvm-project/commit/08e080ee98832c2aec6f379b04f486bea18730cc
  Author: Stefan Schmidt <thrimbor at users.noreply.github.com>
  Date:   2025-04-09 (Wed, 09 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



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