diff options
author | Yonghong Song <yhs@fb.com> | 2022-03-16 23:24:15 -0700 |
---|---|---|
committer | Yonghong Song <yhs@fb.com> | 2022-03-17 09:25:18 -0700 |
commit | d2b4a675a8f9895eb06eec8a963c11a84d04ed03 (patch) | |
tree | a9ce107eefdf288dfb2c907bb067ad3ce11f4d2e /llvm/lib/Object/COFFModuleDefinition.cpp | |
parent | 9842bb0b16db6fc834ba45e6933c0a5c5aab635b (diff) | |
download | llvm-d2b4a675a8f9895eb06eec8a963c11a84d04ed03.zip llvm-d2b4a675a8f9895eb06eec8a963c11a84d04ed03.tar.gz llvm-d2b4a675a8f9895eb06eec8a963c11a84d04ed03.tar.bz2 |
[BPF] Fix a bug in BPFAdjustOpt pass for icmp transformation
When checking a bcc issue related to bcc tool inject.py,
I found a bug in BPFAdjustOpt pass for icmp transformation,
caused by typo's. For the following condition:
Cond2Op != ICmpInst::ICMP_SLT && Cond1Op != ICmpInst::ICMP_SLE
it should be
Cond2Op != ICmpInst::ICMP_SLT && Cond2Op != ICmpInst::ICMP_SLE
This patch fixed the problem and a test case is added.
Differential Revision: https://reviews.llvm.org/D121883
Diffstat (limited to 'llvm/lib/Object/COFFModuleDefinition.cpp')
0 files changed, 0 insertions, 0 deletions