mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-31 10:34:17 +00:00
Remove unneeded check
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13355 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c8af02c403
commit
bbc130d110
@ -2180,7 +2180,6 @@ static unsigned ExactLog2(unsigned Val) {
|
||||
if (Val == 0 || (Val & (Val-1))) return 0;
|
||||
unsigned Count = 0;
|
||||
while (Val != 1) {
|
||||
if (Val & 1) return 0;
|
||||
Val >>= 1;
|
||||
++Count;
|
||||
}
|
||||
|
@ -2180,7 +2180,6 @@ static unsigned ExactLog2(unsigned Val) {
|
||||
if (Val == 0 || (Val & (Val-1))) return 0;
|
||||
unsigned Count = 0;
|
||||
while (Val != 1) {
|
||||
if (Val & 1) return 0;
|
||||
Val >>= 1;
|
||||
++Count;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user