Files
archived-llvm/lib
Yonghong Song 51d6fa246d bpf: fix a bug in bpf-isel trunc-op optimization
In BPF backend, we try to optimize away redundant
trunc operations so that kernel verifier rewrite
remains valid. Previous implementation only works
for a single function.

This patch fixed the issue for multiple functions.
It clears internal map data structure before
performing optimization for each function.

Signed-off-by: Yonghong Song <yhs@fb.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316469 91177308-0d34-0410-b5e6-96231b3b80d8
2017-10-24 17:29:03 +00:00
..
2017-10-19 01:32:18 +00:00
2017-10-24 17:23:40 +00:00
2017-10-16 20:48:19 +00:00