about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-21 00:11:41 +0000
committerbors <bors@rust-lang.org>2023-07-21 00:11:41 +0000
commitc720a9cd1280d24838d0f649538dcd0e4352692c (patch)
tree588651e4cc2964d3e5f30a5455a7817be177b6b9 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parente2a7ba2771a70439cd546fdae676abe11dacf6f9 (diff)
parent34732e8560a3fea72bab9f2c9840897faa4f55b5 (diff)
downloadrust-c720a9cd1280d24838d0f649538dcd0e4352692c.tar.gz
rust-c720a9cd1280d24838d0f649538dcd0e4352692c.zip
Auto merge of #113344 - scottmcm:alt-slice-zst-handing, r=the8472
Get `!nonnull` metadata on slice iterators, without `assume`s

This updates the non-ZST paths to read the end pointer through a pointer-to-`NonNull`, so that they all get `!nonnull` metadata.

That means that the last `assume(!ptr.is_null())` can be deleted, without impacting codegen -- the codegen tests confirm the LLVM-IR ends up exactly the same as before.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions