Skip to content

LLVM ERROR: Cannot select: 0xffff6c0e10d8: i32 = vecreduce_mul 0xffff6c072990 #54510

Closed
@parched

Description

@parched

Running x.py test --stage 1 on aarch64-unknown-linux-gnu I get one failed test as shown below. This is the first time I've run the tests on this target some I'm unsure if it's a regression.
Nightly commit af50e38

CC @gnzlbg ?

---- [ui] ui/run-pass/simd/simd-intrinsic-generic-reduction.rs stdout ----                                                
                                                                                                                          
error: test compilation failed although it shouldn't!                                                                     
status: exit code: 1                                                                                                      
command: "/usr/src/myapp/build/aarch64-unknown-linux-gnu/stage1/bin/rustc" "/usr/src/myapp/src/test/ui/run-pass/simd/simd-
intrinsic-generic-reduction.rs" "--target=aarch64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-d
ynamic" "-o" "/usr/src/myapp/build/aarch64-unknown-linux-gnu/test/ui/run-pass/simd/simd-intrinsic-generic-reduction/a" "-C
rpath" "-O" "-Zunstable-options" "-Lnative=/usr/src/myapp/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "-L" "
/usr/src/myapp/build/aarch64-unknown-linux-gnu/test/ui/run-pass/simd/simd-intrinsic-generic-reduction/auxiliary" "-A" "unu
sed"                                                                                                                      
stdout:                                                                                                                   
------------------------------------------                                                                                
                                                                                                                          
------------------------------------------                                                                                
stderr:                                                                                                                   
------------------------------------------                                                                                
LLVM ERROR: Cannot select: 0xffff6c0e10d8: i32 = vecreduce_mul 0xffff6c072990                                             
  0xffff6c072990: v4i32,ch = load<(load 16 from constant-pool)> 0xffff6c0c6eb8, 0xffff6c0e1620, undef:i64                 
    0xffff6c0e1620: i64 = AArch64ISD::ADDlow 0xffff6c0727f0, TargetConstantPool:i64<<4 x i32> <i32 1, i32 -2, i32 3, i32 4
>> 0 [TF=34]                                                                                                              
      0xffff6c0727f0: i64 = AArch64ISD::ADRP TargetConstantPool:i64<<4 x i32> <i32 1, i32 -2, i32 3, i32 4>> 0 [TF=1]     
        0xffff6c0728c0: i64 = TargetConstantPool<<4 x i32> <i32 1, i32 -2, i32 3, i32 4>> 0 [TF=1]                        
      0xffff6c0726b8: i64 = TargetConstantPool<<4 x i32> <i32 1, i32 -2, i32 3, i32 4>> 0 [TF=34]                         
    0xffff6c0e1008: i64 = undef                                                                                           
In function: _ZN32simd_intrinsic_generic_reduction4main17h19818a8328796d6fE                                               
                                                                                                                          
------------------------------------------                                                                                
                                                                                                                          
thread '[ui] ui/run-pass/simd/simd-intrinsic-generic-reduction.rs' panicked at 'explicit panic', tools/compiletest/src/run
test.rs:3238:9

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions