OSDN Git Service

[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)
commitc6f864f3dd5b147a69a57bba0e1fa033b51a812d
treea0cf5a3a39088372a76c28c41be2bc8d1f91f989
parent00136e6ee269bd135575d0869f84bc773d85292d
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359904 91177308-0d34-0410-b5e6-96231b3b80d8
docs/CodeGenerator.rst