[all-commits] [llvm/llvm-project] 2520a9: [APInt] Add `APIntOps::compressBits` and `APIntOps...

Jan Schultke via All-commits all-commits at lists.llvm.org
Fri May 29 09:56:23 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2520a9bcd0911b598e99a34420d6359c3dc61277
      https://github.com/llvm/llvm-project/commit/2520a9bcd0911b598e99a34420d6359c3dc61277
  Author: Jan Schultke <me at eisenwave.net>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/AST/ExprConstant.cpp
    M llvm/include/llvm/ADT/APInt.h
    M llvm/lib/Support/APInt.cpp
    M llvm/unittests/ADT/APIntTest.cpp

  Log Message:
  -----------
  [APInt] Add `APIntOps::compressBits` and `APIntOps::expandBits` (#200114)

These are necessary to implement portable intrinsics for
bit_compress/pext/bext and bit_expand/pdep/bdep.

See
- https://github.com/llvm/llvm-project/issues/172857
- https://github.com/llvm/llvm-project/pull/168527 (I basically modeled my PR after this one)



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