Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use UVINTSIZE to calculate the number of bits of a UVINT variable. The invalid number of bits in the right shift resulted in a poisoned variable. A later branch depending on that variable becomes UB when -branch-on-poison-as-ub is enabled in LLVM, which was turned on by default in LLVM 15 [1]. [1] llvm/llvm-project@03aceab Pointed out by: @jrtc27
- Loading branch information