-
- Notifications
You must be signed in to change notification settings - Fork 14.2k
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-prioritizeIssue: Indicates that prioritization has been requested for this issue.Issue: Indicates that prioritization has been requested for this issue.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.This issue may need triage. Remove it if it has been sufficiently triaged.regression-untriagedUntriaged performance or correctness regression.Untriaged performance or correctness regression.
Description
Not sure if it is related with LLVM.
https://godbolt.org/z/vhKoWYxM5
#[inline(never)] pub fn f_index(data: &mut [u32]) { for i in 0..data.len() { data[i] += 1; } }Regression part in LBB0_4:
stable:
mov rax, rsi and rax, -8 xor ecx, ecx pcmpeqd xmm0, xmm0nightly:
movabs rax, 2305843009213693944 and rax, rsi lea rcx, [4*rsi] and rcx, -32 xor edx, edx pcmpeqd xmm0, xmm0Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-prioritizeIssue: Indicates that prioritization has been requested for this issue.Issue: Indicates that prioritization has been requested for this issue.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.This issue may need triage. Remove it if it has been sufficiently triaged.regression-untriagedUntriaged performance or correctness regression.Untriaged performance or correctness regression.