diff options
author | Yonghong Song <yhs@fb.com> | 2018-03-13 06:47:02 +0000 |
---|---|---|
committer | Yonghong Song <yhs@fb.com> | 2018-03-13 06:47:02 +0000 |
commit | 905d13c1230685eb11b2a00b26773f5f052e80db (patch) | |
tree | a129820224a17d002c54bd5515eadeb7d7b1b517 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | 89e47ac67150ec2287db0d4541196d0a4d3f96cc (diff) | |
download | bcm5719-llvm-905d13c1230685eb11b2a00b26773f5f052e80db.tar.gz bcm5719-llvm-905d13c1230685eb11b2a00b26773f5f052e80db.zip |
bpf: J*_RR should check both operands
There is a mistake in current code that we "break" out the optimization
when the first operand of J*_RR doesn't qualify the elimination. This
caused some elimination opportunities missed, for example the one in the
testcase.
The code should just fall through to handle the second operand.
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Yonghong Song <yhs@fb.com>
llvm-svn: 327366
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions