summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/BPF/remove_truncate_3.ll
Commit message (Collapse)AuthorAgeFilesLines
* [BPF] Return true in enableMultipleCopyHints().Jonas Paulsson2018-02-181-4/+4
| | | | | | | | | | Enable multiple COPY hints to eliminate more COPYs during register allocation. Note that this is something all targets should do, see https://reviews.llvm.org/D38128. Review: Yonghong Song llvm-svn: 325457
* bpf: add a test case for trunc-op optimizationYonghong Song2017-11-201-0/+106
Commit b5cbc7760ab8 ("[bpf] allow direct and indirect calls") allowed more than one function in the bpf program, and commit 114353884415 ("bpf: fix a bug in trunc-op optimization") fixed a bug in trunc-op optimization which only showed up with more than one function in the bpf program. This patch added a test case for trunc-op optimization for bpf programs with two functions. Reverting commit "bpf: fix a bug in trunc-op optimization" will cause failure for this test case. Signed-off-by: Yonghong Song <yhs@fb.com> llvm-svn: 318695
OpenPOWER on IntegriCloud