summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/fast-math.c
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-05-18 19:30:37 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-05-18 19:30:37 +0000
commitbeab5678a33a333e617079ca851215312446f7b0 (patch)
tree4b464da8dc2a5f2076a42717153be3cdab7ce8cb /clang/test/Driver/fast-math.c
parent693a1ca6284f5145d261b390156507f12046d4c6 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud