Return the index of the most significant bit that differs between two values.
Declared in <llvm/ADT/APInt.h>
std::optional<unsigned int>
GetMostSignificantDifferentBit(
APInt const& A,
APInt const& B);
Bit index of the highest differing bit, or std::nullopt if equal
| Name | Description |
|---|---|
| A | First value |
| B | Second value |