1. [APInt] Introduce APIntOps::GetMostSignificantDifferentBit() (details)
Commit 9d77ad57540c45b0a6e6ffcf8721a3189c0ed70e by lebedev.ri
[APInt] Introduce APIntOps::GetMostSignificantDifferentBit()
Summary: Compare two values, and if they are different, return the
position of the most significant bit that is different in the values.
Needed for D69387.
Reviewers: nikic, spatel, sanjoy, RKSimon
Reviewed By: nikic
Subscribers: xbolva00, hiraditya, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision:
The file was modifiedllvm/include/llvm/ADT/APInt.h
The file was modifiedllvm/lib/Support/APInt.cpp
The file was modifiedllvm/unittests/ADT/APIntTest.cpp