Mircea Trofin
df0066a1c9
[NFC][MLGO] Fix vector sizing
...
The bots only build release mode, and the use of `reserve` instead of
`resize`, while not causing invalid memory accesses, is incorrect.
2021-07-22 13:06:00 -07:00
Fangrui Song
a5309438fe
static const char *const foo => const char foo[]
...
By default, a non-template variable of non-volatile const-qualified type
having namespace-scope has internal linkage, so no need for `static`.
2020-12-01 10:33:18 -08:00
Nico Weber
4fe912f186
Build: Move TF source file inclusion from build system to source files
...
Outside of compiler-rt (where it's arguably an anti-pattern too),
LLVM tries to keep its build files as simple as possible. See e.g.
llvm/docs/SupportLibrary.rst, "Code Organization".
Differential Revision: https://reviews.llvm.org/D84243
2020-07-21 13:02:34 -04:00
Mircea Trofin
bdceefe95b
[llvm] Release-mode ML InlineAdvisor
...
Summary:
This implementation uses a pre-trained model which is statically
compiled into a native function.
RFC: http://lists.llvm.org/pipermail/llvm-dev/2020-April/140763.html
Reviewers: davidxl, jdoerfert, dblaikie
Subscribers: mgorny, eraman, hiraditya, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D81515
2020-06-24 08:18:42 -07:00