Skip to content
Commit e4ce71d0 authored by Reid Spencer's avatar Reid Spencer
Browse files

Fix countLeadingZeros in the case that the bitwidth evenly divides the

word size. This fixes all reads of uninitialized data (buffer over read)
and makes APInt.cpp memory clean, per valgrind. The only remaining
problem is division in a few cases.

llvm-svn: 34483
parent 3796abea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment