diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-08-22 20:34:15 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-22 20:34:15 +0530 |
| commit | 58d23737a6d77c88af6b9b600058877910db1bff (patch) | |
| tree | 4a523ca51052626d9d4740324d442c58cc8b46fc /compiler/rustc_codegen_llvm/src | |
| parent | 75b7089d1efbb80c810ce906ff96a9da8bdd9a9c (diff) | |
| parent | efef211876b193ebc5e33dc9414c5a3dc14e9739 (diff) | |
| download | rust-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
