[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 2f499b9aff
commit 7d78875f93
1 changed files with 1 additions and 1 deletions

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.