Yonghong Song d2b4a675a8 [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
2022-03-17 09:25:18 -07:00
..
2020-12-03 07:38:00 -08:00
2020-12-03 07:38:00 -08:00
2021-05-25 08:19:13 -07:00
2021-05-25 08:19:13 -07:00
2021-05-25 08:19:13 -07:00
2021-05-25 08:19:13 -07:00
2021-05-25 08:19:13 -07:00