diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-05-18 19:30:37 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-05-18 19:30:37 +0000 |
| commit | beab5678a33a333e617079ca851215312446f7b0 (patch) | |
| tree | 4b464da8dc2a5f2076a42717153be3cdab7ce8cb /clang/test/Driver/fast-math.c | |
| parent | 693a1ca6284f5145d261b390156507f12046d4c6 (diff) | |
| download | bcm5719-llvm-beab5678a33a333e617079ca851215312446f7b0.tar.gz bcm5719-llvm-beab5678a33a333e617079ca851215312446f7b0.zip | |
isKnownToBeAPowerOfTwo: (X & Y) + Y is a power of 2 or zero if y is also.
This is useful if something that looks like (x & (1 << y)) ? 64 : 32 is
the divisor in a modulo operation.
llvm-svn: 182200
Diffstat (limited to 'clang/test/Driver/fast-math.c')
0 files changed, 0 insertions, 0 deletions

