aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/LoopInfo.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-05-03 02:04:26 +0000
committerEric Fiselier <eric@efcs.ca>2016-05-03 02:04:26 +0000
commit43a10eb637b2da24cc8d5ee1c52a7ff3a485cf9c (patch)
tree0a898cf715e2adff8c64faf2a6de03f2e4f95e3e /llvm/lib/Analysis/LoopInfo.cpp
parentc357278a383287527c589c264f7644a8df266ff6 (diff)
downloadllvm-43a10eb637b2da24cc8d5ee1c52a7ff3a485cf9c.zip
llvm-43a10eb637b2da24cc8d5ee1c52a7ff3a485cf9c.tar.gz
llvm-43a10eb637b2da24cc8d5ee1c52a7ff3a485cf9c.tar.bz2
Don't use std::__clz in 'test/support/hexfloat.h'.
std::__clz is a libc++ specific function so it can't be used in the test suite. This patch implements a dumb "count leading zeros" implementation within hexfloat itself. This patch also fixes UB since the output of `__builtin_clz(0)` is undefined according to the GCC docs. llvm-svn: 268354
Diffstat (limited to 'llvm/lib/Analysis/LoopInfo.cpp')
0 files changed, 0 insertions, 0 deletions