Issue 136550
Summary [APInt] Add APInt::clearBits() method
Labels good first issue, llvm:support
Assignees
Reporter RKSimon
    Similar to how we have APInt::setBits(unsigned loBit, unsigned hiBit), we require a APInt::clearBits(unsigned loBit, unsigned hiBit) method to zero out bits in the specific range

Noticed on #131989 - but we need something similar in a number of other cases - notably when manipulating DemandedElts masks for INSERT_SUBVECTOR
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to