Displaying 2 results from an estimated 2 matches for "globalstore_i32".
2008 Sep 23
2
[LLVMdev] Store patterns accepting i32 only?
..._global_store(N.Val)) {
SDValue N1 = N.getOperand(1);
SDValue N2 = N.getOperand(2);
SDValue CPTmp0;
SDValue CPTmp1;
if (SelectADDR(N, N2, CPTmp0, CPTmp1)) {
// Pattern: (st:void GPR:i32:$val,
ADDR:i32:$ptr)<<P:Predicate_global_store>>
// Emits: (GLOBALSTORE_i32:void GPR:i32:$val, ADDR:i32:$ptr)
// Pattern complexity = 13 cost = 1 size = 0
if (N1.Val->getValueType(0) == MVT::i32 &&
N2.Val->getValueType(0) == MVT::i32) {
return Emit_14(N, AMDIL::GLOBALSTORE_i32, CPTmp0, CPTmp1);
}
}
Thanks,
M...
2008 Sep 23
0
[LLVMdev] Store patterns accepting i32 only?
...lue N1 = N.getOperand(1);
> SDValue N2 = N.getOperand(2);
> SDValue CPTmp0;
> SDValue CPTmp1;
> if (SelectADDR(N, N2, CPTmp0, CPTmp1)) {
>
> // Pattern: (st:void GPR:i32:$val,
> ADDR:i32:$ptr)<<P:Predicate_global_store>>
> // Emits: (GLOBALSTORE_i32:void GPR:i32:$val, ADDR:i32:$ptr)
> // Pattern complexity = 13 cost = 1 size = 0
> if (N1.Val->getValueType(0) == MVT::i32 &&
> N2.Val->getValueType(0) == MVT::i32) {
> return Emit_14(N, AMDIL::GLOBALSTORE_i32, CPTmp0, CPTmp1);
> }...