OSDN Git Service

bpf: Enhance debug information for peephole optimization passes
authorYonghong Song <yhs@fb.com>
Tue, 13 Mar 2018 06:47:07 +0000 (06:47 +0000)
committerYonghong Song <yhs@fb.com>
Tue, 13 Mar 2018 06:47:07 +0000 (06:47 +0000)
commitc9274e4c03ccd4c3ce82b2a6ecdd51a4659416f6
treec5f041d030d5224582d345cd4f617dcbd2ad205f
parentbdea56efc2237f6b041f89ccc9ec657cd075a65a
bpf: Enhance debug information for peephole optimization passes

Add more debug information for peephole optimization passes.

These would only be enabled for debug version binary and could help
analyzing why some optimization opportunities were missed.

Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Yonghong Song <yhs@fb.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327371 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/BPF/BPFMIPeephole.cpp