mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-23 02:06:55 +01:00
f2a7b300c4
* Fix type mismatch in `BitwiseAnd` simplification `TryEliminateBitwiseAnd` would turn the `BitwiseAnd` operation into a copy of the wrong type. E.g: Before `Simplification`: ```llvm i64 %0 = BitwiseAnd i64 0x0, %1 ``` After `Simplication`: ```llvm i64 %0 = Copy i32 0x0 ``` Since the with the changes in #2515, we iterate in reverse order and `Simplication`, `ConstantFolding` does not indicate if it modified the CFG, the second pass to "retype" the copy into the proper destination type does not happen. This also blocked copy propagation since its destination type did not match with its source type. But in the cases I've seen, the `PreAllocator` would insert a copy for the propagated constant, which results in no diffs. Since the copy remained as is, asserts are fired when generating it. * Set PPTC version |
||
---|---|---|
.. | ||
Cache | ||
PTC | ||
ArmEmitterContext.cs | ||
Compiler.cs | ||
CompilerContext.cs | ||
CompilerOptions.cs | ||
ControlFlowGraph.cs | ||
DelegateHelper.cs | ||
DelegateInfo.cs | ||
Delegates.cs | ||
DispatcherFunction.cs | ||
Dominance.cs | ||
EmitterContext.cs | ||
GuestFunction.cs | ||
RegisterToLocal.cs | ||
RegisterUsage.cs | ||
RejitRequest.cs | ||
SsaConstruction.cs | ||
SsaDeconstruction.cs | ||
TranslatedFunction.cs | ||
Translator.cs | ||
TranslatorStubs.cs |