forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 9
excessively large loops #32
Copy link
Copy link
Open
Description
Hey, I'm not sure if this is something that can be fixed or required by LLVM/Rust ABI, but I noticed some simple busy loops were quite large (42 bytes).
#[inline(never)]
extern fn delay() {
for _ in 0..16u8 {
for _ in 0..255u8 {
unsafe { nop(); }
}
}
}When imo it should emit something more like
Let me know if this isn't possible and feel free to close, but I thought I should mention it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

