Skip to content
Commit 73ba1c84 authored by Craig Topper's avatar Craig Topper
Browse files

[InstCombine][InstSimplify] Use APInt::isNullValue/isOneValue to reduce...

[InstCombine][InstSimplify] Use APInt::isNullValue/isOneValue to reduce compiled code for comparing APInts with 0 and 1. NFC

These methods are specifically optimized to only counting leading zeros without an additional uint64_t compare.

llvm-svn: 304876
parent 29c282ea
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