[X86] Make sure load is non-volatile in the MMX_X86movdq2q (loadv2i64) isel pattern.

This pattern will narrow the load so we should make sure its not
volatile.

llvm-svn: 368971
This commit is contained in:
Craig Topper 2019-08-15 06:46:26 +00:00
parent 535efab2e5
commit e6409602a1
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,7 @@ def MMX_X86movdq2q : SDNode<"X86ISD::MOVDQ2Q", SDTypeProfile<1, 1,
def : Pat<(x86mmx (MMX_X86movdq2q VR128:$src)),
(x86mmx (MMX_MOVDQ2Qrr VR128:$src))>;
def : Pat<(x86mmx (MMX_X86movdq2q (loadv2i64 addr:$src))),
def : Pat<(x86mmx (MMX_X86movdq2q (v2i64 (nonvolatile_load addr:$src)))),
(x86mmx (MMX_MOVQ64rm addr:$src))>;
// Misc.