Mark the sse_load_f32 and sse_load_f64 load patterns as having memoperands so

that the memoperands are properly set after DAG building and general mucking
about.

llvm-svn: 113585
This commit is contained in:
Bill Wendling 2010-09-10 10:34:22 +00:00
parent ac0ad0f634
commit 638a098f72
1 changed files with 2 additions and 2 deletions

View File

@ -181,9 +181,9 @@ def X86Punpckhqdq : SDNode<"X86ISD::PUNPCKHQDQ", SDTShuff2Op>;
// the top elements. These are used for the SSE 'ss' and 'sd' instruction
// forms.
def sse_load_f32 : ComplexPattern<v4f32, 5, "SelectScalarSSELoad", [],
[SDNPHasChain, SDNPMayLoad]>;
[SDNPHasChain, SDNPMayLoad, SDNPMemOperand]>;
def sse_load_f64 : ComplexPattern<v2f64, 5, "SelectScalarSSELoad", [],
[SDNPHasChain, SDNPMayLoad]>;
[SDNPHasChain, SDNPMayLoad, SDNPMemOperand]>;
def ssmem : Operand<v4f32> {
let PrintMethod = "printf32mem";