about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-22 20:47:17 +0000
committerbors <bors@rust-lang.org>2022-11-22 20:47:17 +0000
commitff8c8dfbe66701531e3e5e335c28c544d0fbc945 (patch)
tree5179c28a5532cf17ceb11c39cdb45c35e88511d0 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parente221616639fb87de9dca21e252ee8a2565ec51d0 (diff)
parent3ed8fccff5295e1d92419e7c67502e434ff1e98f (diff)
downloadrust-ff8c8dfbe66701531e3e5e335c28c544d0fbc945.tar.gz
rust-ff8c8dfbe66701531e3e5e335c28c544d0fbc945.zip
Auto merge of #104735 - the8472:simd-contains-fix, r=thomcc
Simd contains fix

Fixes #104726

The bug was introduced by an improvement late in the original PR (#103779) which added the backtracking when the last and first byte of the needle were the same. That changed the meaning of the variable for the last probe offset, which I should have split into the last byte offset and last probe offset. Not doing so lead to incorrect loop conditions.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions