[Docs][CodeGenerator][eBPF] Correct the values for BPF_X and BPF_K
authorYonghong Song <yhs@fb.com>
Fri, 3 May 2019 16:40:16 +0000 (16:40 +0000)
committerYonghong Song <yhs@fb.com>
Fri, 3 May 2019 16:40:16 +0000 (16:40 +0000)
commit33434d5f045072c876b511dbe42af66adb56eae1
tree6edb80caca32edad17e1315831acf070bcf18436
parenta8f3840c62a7c0fde28e9a3f1a32e30ba5579121
[Docs][CodeGenerator][eBPF] Correct the values for BPF_X and BPF_K

Fix the values of BPF_X and BPF_K according to BPFInstrFormats.td:
"
def BPF_K : BPFSrcType<0x0>;
def BPF_X : BPFSrcType<0x1>;
"

The right value for BPF_X is 0x1, and the right value for BPF_K is 0x0.

Signed-off-by: Wang YanQing <udknight@gmail.com>
Differential Revision: https://reviews.llvm.org/D61512

llvm-svn: 359904
llvm/docs/CodeGenerator.rst