[all-commits] [llvm/llvm-project] 8d160e: [Verifier] Allow vector type in atomic load and store

jofrn via All-commits all-commits at lists.llvm.org
Tue Dec 17 17:22:13 PST 2024


  Branch: refs/heads/users/jofrn/atomic-vector-stack
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d160e06b0e42af216a41ae7df570bc210194914
      https://github.com/llvm/llvm-project/commit/8d160e06b0e42af216a41ae7df570bc210194914
  Author: jofrn <jofernau at amd.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/IR/Verifier.cpp
    M llvm/test/Assembler/atomic.ll
    M llvm/test/Verifier/atomics.ll

  Log Message:
  -----------
  [Verifier] Allow vector type in atomic load and store

Vector types on atomics are assumed to be invalid by the verifier. However,
this type can be valid if it is lowered by codegen.

commit-id:df9b38fd


  Commit: 5ad9ed094cce3513f4081e0e6ecc5834efa4da7b
      https://github.com/llvm/llvm-project/commit/5ad9ed094cce3513f4081e0e6ecc5834efa4da7b
  Author: jofernau <Joe.Fernau at amd.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  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

Scalarize vector of atomic load in SelectionDAG.

commit-id:2b959ffa


  Commit: 7aedb70c0b1cdc956e63e0637cd63816ede26f0e
      https://github.com/llvm/llvm-project/commit/7aedb70c0b1cdc956e63e0637cd63816ede26f0e
  Author: jofrn <jofernau at amd.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/atomic-load-store.ll

  Log Message:
  -----------
  [SelectionDAG][X86] Add floating point promotion.

When lowering atomic vector types with floats, selection can fail since
this pattern is unsupported. To support this, floats can be casted to
an integer type of the same size.

commit-id:0f51f909


  Commit: 47b602b570da1b29c70f3752d31e038e8db82a0c
      https://github.com/llvm/llvm-project/commit/47b602b570da1b29c70f3752d31e038e8db82a0c
  Author: jofrn <jofernau at amd.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/atomic-load-store.ll

  Log Message:
  -----------
  [X86] Add atomic vector tests for >1 sizes.

Atomic vectors with size >1 are lowered to calls. Adding
their tests separately here.

commit-id:8216561c


Compare: https://github.com/llvm/llvm-project/compare/8d160e06b0e4%5E...47b602b570da

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