diff options
author | Louis Dionne <ldionne@apple.com> | 2019-08-22 19:35:46 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-08-22 19:35:46 +0000 |
commit | b43923da5bb5390653b40143c2ef72ae90a9c1b7 (patch) | |
tree | 16bf6cdafeadf8d375c16ca6606f031058843294 /llvm/lib/IR/Module.cpp | |
parent | df5c04e1cdf3ab9873634e90784fc2617e8f6998 (diff) | |
download | bcm5719-llvm-b43923da5bb5390653b40143c2ef72ae90a9c1b7.tar.gz bcm5719-llvm-b43923da5bb5390653b40143c2ef72ae90a9c1b7.zip |
[libc++] Fix broken <random> test
In r369429, I hoisted a floating point computation to a variable in order
to remove a warning. However, it turns out this doesn't play well with
floating point arithmetic. This commit reverts r369429 and instead casts
the result of the floating point computation to remove the warning.
Whether hoisting the computaiton to a variable should give the same
result can be investigated independently.
llvm-svn: 369693
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions