diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-05-04 19:35:11 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-05-04 19:35:11 +0000 |
| commit | c6f601310f34847f31af201ec4e4fedccd507144 (patch) | |
| tree | 83b8722adca50e9ba38ddcffc3cfe84cb2301664 /llvm/lib/Target | |
| parent | 22df9a59b43ce7e597506b283950f451074fba24 (diff) | |
| download | bcm5719-llvm-c6f601310f34847f31af201ec4e4fedccd507144.tar.gz bcm5719-llvm-c6f601310f34847f31af201ec4e4fedccd507144.zip | |
Remove unneeded check
llvm-svn: 13355
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/X86/InstSelectSimple.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp index da96813b128..da2175bbd43 100644 --- a/llvm/lib/Target/X86/InstSelectSimple.cpp +++ b/llvm/lib/Target/X86/InstSelectSimple.cpp @@ -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; } |

