diff options
author | Michael Jones <michaelrj@google.com> | 2022-10-04 11:59:55 -0700 |
---|---|---|
committer | Michael Jones <michaelrj@google.com> | 2022-10-04 13:31:26 -0700 |
commit | 38b6f58e33bbd8dc0be570f41806d0a9006610d9 (patch) | |
tree | be624ff89eefbb0e10239b5daa4d6ffdd51f8148 /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 42fead6834ef3a96c765ea545c2d2bac951f7e98 (diff) | |
download | llvm-38b6f58e33bbd8dc0be570f41806d0a9006610d9.zip llvm-38b6f58e33bbd8dc0be570f41806d0a9006610d9.tar.gz llvm-38b6f58e33bbd8dc0be570f41806d0a9006610d9.tar.bz2 |
[libc] implement basic rand and srand
This provides the reference implementation of rand and srand. In future
this will likely be upgraded to something that supports full ints.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D135187
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions