[all-commits] [llvm/llvm-project] 0b87d2: [libc] Implement vector 'split' and 'concat' routi...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Sep 10 15:52:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b87d27097dc71916dd041e5be87fefd26006867
      https://github.com/llvm/llvm-project/commit/0b87d27097dc71916dd041e5be87fefd26006867
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-09-10 (Wed, 10 Sep 2025)

  Changed paths:
    M libc/src/__support/CPP/CMakeLists.txt
    M libc/src/__support/CPP/simd.h
    M libc/test/src/__support/CPP/simd_test.cpp

  Log Message:
  -----------
  [libc] Implement vector 'split' and 'concat' routines (#157537)

Summary:
This provides some helpers for the split and concatenation routines for
changing the size of an existing vector. This includes a simple tuple
type to do the splitting. The tuple doesn't support structured bindings
yet.

The concat function is more limited than what would be ideal, but the
shufflevector builtin requires things of equivalent sizes and I
didn't think it was worth wrangling with that just yet.



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