-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Closed
llvm/llvm-project-release-prs
#12Milestone
Description
clang13 works ok. Clang14 is crashing on mips/linux works ok when disabling optimizations ( -O0)
fatal error: error in backend: Cannot select: 0x5586944fb158: f64 = fabs nnan ninf nsz arcp contract afn reassoc 0x55869449b358, encoder/encoder.c:689:18
0x55869449b358: f64 = fadd nnan ninf nsz arcp contract afn reassoc 0x558694124be0, 0x55869449b560, encoder/encoder.c:689:47
0x558694124be0: f64 = fp_extend 0x558694124e50, encoder/encoder.c:689:23
0x558694124e50: f32,ch = load<(load (s32) from %ir.387, !tbaa !3430)> 0x558694a028a8, 0x558694121a78, undef:i32, encoder/encoder.c:689:35
0x558694121a78: i32 = add 0x5586940fd730, Constant:i32<684>, encoder/encoder.c:689:35
0x5586940fd730: i32,ch = CopyFromReg 0x558694a028a8, Register:i32 %176, encoder/encoder.c:682:35
0x5586944d6710: i32 = Register %176
0x55869449c260: i32 = Constant<684>
0x5586944d6c58: i32 = undef
0x55869449b560: f64,ch = load<(load (s64) from constant-pool)> 0x558694a028a8, 0x558694a3c530, undef:i32
0x558694a3c530: i32 = add 0x5586944fb430, 0x558693eea8d8
0x5586944fb430: i32,ch = load<(load (s32) from got)> 0x558694a028a8, 0x558694204840, undef:i32
0x558694204840: i32 = MipsISD::Wrapper Register:i32 %178, TargetConstantPool:i32<double -1.250000e+00> 0 [TF=1]
0x55869449b700: i32 = Register %178
0x5586944fae80: i32 = TargetConstantPool<double -1.250000e+00> 0 [TF=1]
0x5586944d6c58: i32 = undef
0x558693eea8d8: i32 = MipsISD::Lo TargetConstantPool:i32<double -1.250000e+00> 0 [TF=5]
0x558694124ff0: i32 = TargetConstantPool<double -1.250000e+00> 0 [TF=5]
0x5586944d6c58: i32 = undef
In function: validate_parameters
Attached is the testcase to reproduce the segfault.
encoder-7df1e7.tar.gz
Metadata
Metadata
Assignees
Type
Projects
Status
Done