mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
With the previous RCLSE pass optimization that fixes store->load forwarding, this pass started optimizing harder. This hit a bug with this vmov removal that previously didn't get hit. In particular this would eliminate vmov IR operations even if they were zero extending a vector. Since we have dramatically cleaned up the amount of vmov IR operations we are generating, remove this optimization entirely. In the games I tested, the only game that hit this "optimization" was Ender Lilies and it started generating broken code for the single block of instructions that did. Adds a unit test for this case just in-case it comes back in the future for some reason. Fixes an issue where Ender Lilies would flash the screen to black every time an enemy hit the player character.