[all-commits] [llvm/llvm-project] ba767b: [SelectionDAG] Legalize <1 x T> vector types for a...

jofrn via All-commits all-commits at lists.llvm.org
Wed Oct 22 22:51:20 PDT 2025


  Branch: refs/heads/users/jofrn/gt/07-15-_selectiondag_legalize_1_x_t_vector_types_for_atomic_load
  Home:   https://github.com/llvm/llvm-project
  Commit: ba767b1e9cecfaa468814cd0b0c7589b7063df76
      https://github.com/llvm/llvm-project/commit/ba767b1e9cecfaa468814cd0b0c7589b7063df76
  Author: jofrn <jofernau at amd.com>
  Date:   2025-10-23 (Thu, 23 Oct 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/test/CodeGen/X86/atomic-load-store.ll

  Log Message:
  -----------
  [SelectionDAG] Legalize <1 x T> vector types for atomic load

`load atomic <1 x T>` is not valid. This change legalizes
vector types of atomic load via scalarization in SelectionDAG
so that it can, for example, translate from `v1i32` to `i32`.



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