RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.65k stars 1.93k forks source link

[Regression] Sniper Ghost Warrior 2 LLVM SPU Compiler issue (#7381) #13757

Open Triticum0 opened 1 year ago

Triticum0 commented 1 year ago

Quick summary

I encountered a Compiler issue while testing Sniper Ghost Warrior 2

Details

This game suffers from a compiler issue which started happening after rpcs3-v0.0.8-9494-c4a01875

once the shader is compiled it spits out this: error F {SPU Worker 5} SIG: Thread terminated due to fatal error: Compilation failed (in file ../rpcs3/Emu/Cell/SPURecompiler.cpp:5789, in function compile) E SPU: LLVM: Verification failed at 0x22b54: PHINode should have one entry for each predecessor of its parent basic block! %phi0x22bd4_r85 = phi <4 x i32> [ %34, %b-0x22b54 ], [ %107, %b-0x22b68 ]

It also happens when trying to reach ingame which makes the game unplayable.

Build with regression

rpcs3-v0.0.8-9494-c4a01875

Attach two log files

RPCS3.log.gz rpcs3-v0.0.8-9492-7f4e546f_linux64.log.gz

Attach capture files for visual issues

No response

System configuration

RPCS3 v0.0.27-14924-5870dad6 Alpha | master | FW 4.88 | 5.15.106-1-MANJARO AMD Ryzen 5 2600 | 12 Threads | 15.95 GiB RAM | AVX+ | FMA3 GPU: NVIDIA GeForce RTX 3060 Ti (530.41)

Other details

No response

AniLeo commented 1 year ago

From #7381