Displaying 2 results from an estimated 2 matches for "globalstor".
Did you mean:
globalstore
2008 Sep 23
2
[LLVMdev] Store patterns accepting i32 only?
...rand";
let MIOperandInfo = (ops GPR, GPR);
}
def global_st : SDNode<"AMDILISD::GLOBAL_STORE", SDTStore,
[SDNPHasChain, SDNPMayLoad, SDNPMemOperand]>;
def global_store : PatFrag<(ops node:$val, node:$ptr),
(st node:$val, node:$ptr), [{
return isGlobalStore(dyn_cast<StoreSDNode>(N));
}]>;
def GLOBALSTORE : OneInOneOut<IL_OP_MOV, (outs), (ins GPR:$val,
MEM:$ptr),
"mov g[$ptr], $val",
[(global_store GPR:$val, ADDR:$ptr)]>;
I want this same pattern to be able to accept...
2008 Sep 23
0
[LLVMdev] Store patterns accepting i32 only?
...perandInfo = (ops GPR, GPR);
> }
> def global_st : SDNode<"AMDILISD::GLOBAL_STORE", SDTStore,
> [SDNPHasChain, SDNPMayLoad, SDNPMemOperand]>;
>
> def global_store : PatFrag<(ops node:$val, node:$ptr),
> (st node:$val, node:$ptr), [{
> return isGlobalStore(dyn_cast<StoreSDNode>(N));
> }]>;
> def GLOBALSTORE : OneInOneOut<IL_OP_MOV, (outs), (ins GPR:$val, MEM:
> $ptr),
> "mov g[$ptr], $val",
> [(global_store GPR:$val, ADDR:$ptr)]>;
>
> I want this same...