about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-22 20:34:15 +0530
committerGitHub <noreply@github.com>2022-08-22 20:34:15 +0530
commit58d23737a6d77c88af6b9b600058877910db1bff (patch)
tree4a523ca51052626d9d4740324d442c58cc8b46fc /compiler/rustc_codegen_llvm/src
parent75b7089d1efbb80c810ce906ff96a9da8bdd9a9c (diff)
parentefef211876b193ebc5e33dc9414c5a3dc14e9739 (diff)
downloadrust-58d23737a6d77c88af6b9b600058877910db1bff.tar.gz
rust-58d23737a6d77c88af6b9b600058877910db1bff.zip
Rollup merge of #100820 - WaffleLapkin:use_ptr_is_aligned_methods, r=scottmcm
Use pointer `is_aligned*` methods

This PR replaces some manual alignment checks with calls to `pointer::{is_aligned, is_aligned_to}` and removes a useless pointer cast.

r? `@scottmcm`

_split off from #100746_
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions