about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/pointer.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-09 16:26:02 +0200
committerGitHub <noreply@github.com>2023-10-09 16:26:02 +0200
commitea5cac02e8921e4e3aeb1830b68b88adc3898b27 (patch)
treea3ff5271ad7568876dc91bf94440b0c3623c24b2 /compiler/rustc_codegen_cranelift/src/pointer.rs
parent148f5c1bdf974e7fc9504aef156016a4852e2053 (diff)
parent3ed37652593c188734b226dcecf920cee019961b (diff)
downloadrust-ea5cac02e8921e4e3aeb1830b68b88adc3898b27.tar.gz
rust-ea5cac02e8921e4e3aeb1830b68b88adc3898b27.zip
Rollup merge of #116556 - bjorn3:sync_cg_clif-2023-10-09, r=bjorn3
Sync rustc_codegen_cranelift

The highlights this time are improved simd and inline asm support, `is_x86_feature_detected!()` returning the actual cpu features when inline asm support is enabled and a couple of bug fixes.

r? ```@ghost```

```@rustbot``` label +A-codegen +A-cranelift +T-compiler +subtree-sync
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/pointer.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/src/pointer.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/pointer.rs b/compiler/rustc_codegen_cranelift/src/pointer.rs
index b60e56720ed..11ac6b94678 100644
--- a/compiler/rustc_codegen_cranelift/src/pointer.rs
+++ b/compiler/rustc_codegen_cranelift/src/pointer.rs
@@ -1,11 +1,10 @@
 //! Defines [`Pointer`] which is used to improve the quality of the generated clif ir for pointer
 //! operations.
 
-use crate::prelude::*;
-
+use cranelift_codegen::ir::immediates::Offset32;
 use rustc_target::abi::Align;
 
-use cranelift_codegen::ir::immediates::Offset32;
+use crate::prelude::*;
 
 /// A pointer pointing either to a certain address, a certain stack slot or nothing.
 #[derive(Copy, Clone, Debug)]