llvm-project
c65d6cb0 - [SelectionDAG] Return std::optional<unsigned> from getValidShiftAmount and friends. NFC (#156224)

Commit
28 days ago
[SelectionDAG] Return std::optional<unsigned> from getValidShiftAmount and friends. NFC (#156224) Instead of std::optional<uint64_t>. Shift amounts must be less than or equal to our maximum supported bit widths which fit in unsigned. Most of the callers already assumed it fit in unsigned.
Author
Parents
Loading