Skip to content

Instantly share code, notes, and snippets.

LLVM ERROR: Cannot select: 0x37dfafba60: v16i8 = X86ISD::PSHUFB 0x37dfae1f20, 0x37dfae39f0 [ORD=21] [ID=44]
0x37dfae1f20: v16i8 = bitcast 0x37dfade230 [ORD=9] [ID=29]
0x37dfade230: v2i64,ch = load 0x37dfa18150, 0x37dfae3170, 0x37dfae16a0<LD16[%1454]> [ORD=9] [ID=23]
0x37dfae3170: i64 = add 0x37dfafbfb0, 0x37dfae1260 [ORD=6] [ID=16]
0x37dfafbfb0: i64,ch = CopyFromReg 0x37dfa18150, 0x37dfae1480 [ORD=2] [ID=10]
0x37dfae1480: i64 = Register %vreg2 [ID=1]
0x37dfae1260: i64 = Constant<1344> [ID=4]
0x37dfae16a0: i64 = undef [ID=3]
0x37dfae39f0: v16i8 = bitcast 0x37dfafc1d0 [ORD=20] [ID=43]
0x37dfafc1d0: v2i64 = or 0x37dfafbb70, 0x37dfae1370 [ORD=20] [ID=42]
Recompiling block :
00177ab0: 00 00 00 0e mfcr r12
00177ac0: 00 00 00 08 stdu r1,-208(r1) #ffffff30
00177ad0: 00 00 00 08 std r20,112(r1) #70
00177ae0: 00 00 00 0b std r23,136(r1) #88
00177af0: 00 00 00 0e std r25,152(r1) #98
00177b00: 00 00 00 08 std r26,160(r1) #a0
00177b10: 00 00 00 0e std r21,120(r1) #78
00177b20: 00 00 00 0d std r22,128(r1) #80
Recompiling block :
00177ab0: 00 00 00 0e mfcr r12
00177ac0: 00 00 00 08 stdu r1,-208(r1) #ffffff30
00177ad0: 00 00 00 08 std r20,112(r1) #70
00177ae0: 00 00 00 0b std r23,136(r1) #88
00177af0: 00 00 00 0e std r25,152(r1) #98
00177b00: 00 00 00 08 std r26,160(r1) #a0
00177b10: 00 00 00 0e std r21,120(r1) #78
00177b20: 00 00 00 0d std r22,128(r1) #80
Recompiling block :
0029ab30: 04 fd 02 00 cmpwi cr7,r5,0 #0
0029ab40: fd fd fb fd mflr r0
0029ab50: fd f9 fb fb stdu r1,-272(r1) #fffffef0
0029ab60: 00 f9 00 fd std r16,144(r1) #90
0029ab70: 04 fd 0c fd std r17,152(r1) #98
0029ab80: 06 04 04 06 std r22,192(r1) #c0
0029ab90: 02 02 00 02 std r23,200(r1) #c8
0029aba0: fd fd fd fb std r14,128(r1) #80
Recompiling block :
0029ab30: 04 fd 02 00 cmpwi cr7,r5,0 #0
0029ab40: fd fd fb fd mflr r0
0029ab50: fd f9 fb fb stdu r1,-272(r1) #fffffef0
0029ab60: 00 f9 00 fd std r16,144(r1) #90
0029ab70: 04 fd 0c fd std r17,152(r1) #98
0029ab80: 06 04 04 06 std r22,192(r1) #c0
0029ab90: 02 02 00 02 std r23,200(r1) #c8
0029aba0: fd fd fd fb std r14,128(r1) #80
Analysing 0x1cc498
Analysis: Block is compilable into a function
Compile: 0x001CC498: NumHits=1000, IsCompiled=N
Recompiling block :
001cc498: 00 00 00 00 li r0,0 #0
001cc49c: 00 00 00 00 b 0x1cc4cc
001cc4a0: 00 00 00 00 li r0,1 #1
001cc4a4: 00 00 00 00 b 0x1cc4cc
001cc4a8: 00 00 00 00 li r0,2 #2
Analysing 0x1cc4f0
Analysis: Block is compilable into a function
Compile: 0x001CC4F0: NumHits=1000, IsCompiled=N
Recompiling block :
001cc4f0: 00 00 00 00 ld r10,536(r31) #218
001cc4f4: 00 00 00 00 rldicl r0,r10,28,63
001cc4f8: 00 00 00 00 ld r11,112(r1) #70
001cc4fc: 00 00 00 00 rldicl r9,r11,28,63
001cc500: 00 00 00 00 cmpd cr7,r0,r9
Analysing 0x1548c
Analysis: Block is compilable into a function
Compile: 0x0001548C: NumHits=1000, IsCompiled=N
Recompiling block :
0001548c: 7f aa eb 78 mr r9,r3
00015490: 48 1a 6f d9 lwz r0,36(r3) #24
00015494: 60 00 00 00 cmpw cr7,r0,r4
00015498: 7f 39 b2 14 ble cr7,0x154c4
ucrtbase.dll!00007ffab07e5a4e() Unknown
ucrtbase.dll!00007ffab07e5176() Unknown
vcruntime140.dll!00007ffaaf7720db() Unknown
vcruntime140.dll!00007ffaaf771c7e() Unknown
vcruntime140.dll!00007ffaaf77be80() Unknown
ntdll.dll!00007ffab9f7633d() Unknown
ntdll.dll!00007ffab9ef3c00() Unknown
ntdll.dll!00007ffab9f7544a() Unknown
KernelBase.dll!00007ffab71da1c8() Unknown
msvcp140.dll!00007ffaa5268ab1() Unknown
Difference between compiled and interp
003024e0: 00 00 00 00 lwz r29,8(r30) #8
interp state is :
GPR[00] = 0x0000000000000924 FPR[00] = 11600 (0x40c6a80000000000) VPR[00] = 0x3f8000013f8000013f8000013f800001 [x: 1 y: 1 z: 1 w: 1]
GPR[01] = 0x00000000d002fa30 FPR[01] = 2.52962e-320 (0x0000000000001400) VPR[01] = 0xffffffffffffffffffffffffffffffff [x: -nan y: -nan z: -nan w: -nan]
GPR[02] = 0x00000000003f9258 FPR[02] = 1 (0x3ff0000000000000) VPR[02] = 0x00000000000000000000000000000000 [x: 0 y: 0 z: 0 w: 0]
GPR[03] = 0x0000000000000000 FPR[03] = 1 (0x3ff0000000000000) VPR[03] = 0x00000000000000000000000000000000 [x: 0 y: 0 z: 0 w: 0]
GPR[04] = 0x00000000d002fa00 FPR[04] = 1.04858e+06 (0x412fffffe0000000) VPR[04] = 0x04050607000102030c0d0e0f08090a0b [x: 1.56368e-36 y: 9.25572e-41 z: 1.08665e-31 w: 4.12387e-34]
GPR[05] = 0x0000000000000000 FPR[05] = 2.35619 (0x4002d97c80000000) VPR[05] = 0xbf3504f3b28000013f3504f400000000 [x: -0.7071