[all-commits] [llvm/llvm-project] d06701: [APInt] Added APInt::clearBits() method (#137098)

Liam Semeria via All-commits all-commits at lists.llvm.org
Mon May 19 04:41:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d067014f13871642888afde850cdc558c32f350c
      https://github.com/llvm/llvm-project/commit/d067014f13871642888afde850cdc558c32f350c
  Author: Liam Semeria <56208783+liamsemeria at users.noreply.github.com>
  Date:   2025-05-19 (Mon, 19 May 2025)

  Changed paths:
    M llvm/include/llvm/ADT/APInt.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/Support/APInt.cpp
    M llvm/unittests/ADT/APIntTest.cpp

  Log Message:
  -----------
  [APInt] Added APInt::clearBits() method (#137098)

Added APInt::clearBits(unsigned loBit, unsigned hiBit) that clears bits within a certain range.

Fixes #136550

---------

Co-authored-by: Simon Pilgrim <llvm-dev at redking.me.uk>



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