llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[libc] Fix or delete automemcpy

Open vonosmas opened this issue 2 years ago • 1 comments

The automemcpy framework in libc/benchmarks/automemcpy seems to be in a broken state today.

The auto-generated code includes headers such as "elements.h" https://github.com/llvm/llvm-project/blob/64c921875a833136e7417c9077f55cc0c37773b7/libc/benchmarks/automemcpy/lib/CodeGen.cpp#L538 which were deleted years ago (534f4bca58f856eaecfcf4a698e7e6b2470349e4).

Recent updates such as LIBC_NAMESPACE_DECL migration 5ff3ff33ff930e4ec49da7910612d8a41eb068cb don't work properly - they added headers to the CodeGen file rather than generated code. Looks like it's not tested / monitored properly.

Should we consider this experiment done and delete the code? If not, then it should arguably be fixed and added to the buildbots to prevent future failures.

vonosmas avatar Nov 07 '24 19:11 vonosmas

@llvm/issue-subscribers-libc

Author: Alexey Samsonov (vonosmas)

The auto-generated code includes headers

llvmbot avatar Nov 07 '24 19:11 llvmbot