mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
[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:
parent
086f5cb877
commit
544051368d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user