Yonghong Song 5898979387 BPF: support inlining __builtin_memcmp intrinsic call
Delyan Kratunov reported an issue where __builtin_memcmp is
not inlined into simple load/compare instructions.
This is a known issue. In the current state, __builtin_memcmp
will be converted to memcmp call which won't work for
bpf programs.

This patch added support for expanding __builtin_memcmp with
actual loads and compares up to currently maximum 128 total loads.
The implementation is identical to PowerPC.

Differential Revision: https://reviews.llvm.org/D122676
2022-03-29 15:03:26 -07:00
..
2022-02-11 10:39:29 +01:00
2022-03-10 10:00:29 +01:00
2022-03-16 08:43:00 +01:00
2022-03-16 08:43:00 +01:00
2021-11-04 17:01:36 -07:00
2021-11-04 17:01:36 -07:00