Displaying 2 results from an estimated 2 matches for "predicate_global_stor".
Did you mean:
predicate_global_store
2008 Sep 23
2
[LLVMdev] Store patterns accepting i32 only?
...ADDR:$ptr)]>;
I want this same pattern to be able to accept all the types for val that
GPR is mapped to(i32, i64, f32, f64).
Is there any way I can modify this so that it do what I want?
Here is a snippet of the generated code with the items bolded that I
don't want generated:
if (Predicate_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_...
2008 Sep 23
0
[LLVMdev] Store patterns accepting i32 only?
...of TD file to expand into multiple 'def's. Take a look
at the X86 SSE instructions for some examples of this. Also, the
tblgen document has some info as well,
-Chris
>
> Here is a snippet of the generated code with the items bolded that I
> don’t want generated:
> if (Predicate_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>&g...