D111241 added support for extractBits() with zero width. Extend this to extractBitsAsZExtValue() as well for consistency (in which case it will always return zero).
Details
Details
Summary
Diff Detail
Diff Detail
Event Timeline
This revision is now accepted and ready to land.May 31 2023, 8:04 AM
Closed by commit rG42e98c6ae875: [APInt] Support zero-width extract in extractBitsAsZExtValue() (authored by nikic). · Explain WhyMay 31 2023, 8:13 AM
This revision was automatically updated to reflect the committed changes.