1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[X86] Remove IntrArgMemOnly from ldmxcsr intrinsic.

Since we're leaving this as ReadWrite with the "write" reflecting
the update to MXCSR, we shouldn't say it only writes arg memory.

Hopefully this fixes the issue reported in post-commit in D93571.
This commit is contained in:
Craig Topper 2021-01-08 17:47:12 -08:00
parent ccb53c0a97
commit 94793077cb

View File

@ -286,7 +286,7 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
// FIXME: LDMXCSR does not actually write to memory,
// but intrinsic properties are generated incorrectly
// for IntrReadMem+IntrHasSideEffects.
[/*IntrReadMem,*/ IntrArgMemOnly, IntrHasSideEffects]>;
[/*IntrReadMem, IntrArgMemOnly,*/ IntrHasSideEffects]>;
}
// Misc.