Displaying 6 results from an estimated 6 matches for "systemzpassconfig".
2013 Nov 14
2
[LLVMdev] [PATCH] Add a Scalarize pass
...gt; writes:
> Are you worried that adding it to PMB will increase compile time?
> The pass exits very early for any target that doesn't opt-in to doing
> scalarisation at the IR level, without even looking at the function.
As an alternative, adding Scalarizer and InstCombine passes to
SystemZPassConfig::addIRPasses() would probably give me most of the
benefit without affecting the PMB. Scalarizer itself would then not
test TargetTransformInfo at all, at least in the initial version,
and the scalarisation would still logically be done by codegen.
Would that be OK?
Thanks,
Richard
2013 Nov 14
0
[LLVMdev] [PATCH] Add a Scalarize pass
...u worried that adding it to PMB will increase compile time?
>> The pass exits very early for any target that doesn't opt-in to doing
>> scalarisation at the IR level, without even looking at the function.
>
> As an alternative, adding Scalarizer and InstCombine passes to
> SystemZPassConfig::addIRPasses() would probably give me most of the
> benefit without affecting the PMB. Scalarizer itself would then not
> test TargetTransformInfo at all, at least in the initial version,
> and the scalarisation would still logically be done by codegen.
> Would that be OK?
I actually...
2013 Nov 15
2
[LLVMdev] [PATCH] Add a Scalarize pass
...g it to PMB will increase compile time?
>>> The pass exits very early for any target that doesn't opt-in to doing
>>> scalarisation at the IR level, without even looking at the function.
>>
>> As an alternative, adding Scalarizer and InstCombine passes to
>> SystemZPassConfig::addIRPasses() would probably give me most of the
>> benefit without affecting the PMB. Scalarizer itself would then not
>> test TargetTransformInfo at all, at least in the initial version,
>> and the scalarisation would still logically be done by codegen.
>> Would that be...
2013 Nov 15
0
[LLVMdev] [PATCH] Add a Scalarize pass
...rease compile time?
>>>> The pass exits very early for any target that doesn't opt-in to doing
>>>> scalarisation at the IR level, without even looking at the function.
>>>
>>> As an alternative, adding Scalarizer and InstCombine passes to
>>> SystemZPassConfig::addIRPasses() would probably give me most of the
>>> benefit without affecting the PMB. Scalarizer itself would then not
>>> test TargetTransformInfo at all, at least in the initial version,
>>> and the scalarisation would still logically be done by codegen.
>>>...
2013 Nov 14
0
[LLVMdev] [PATCH] Add a Scalarize pass
Nadav Rotem <nrotem at apple.com> writes:
>> I don't understand the basis for the last statement though. Do you mean
>> that you think most cases produce better code if scalarised at the SD stage
>> rather than at the IR level? Could you give an example?
>
> You presented an example that shows that scalarizing vectors allow
> further optimizations. But I
2013 Nov 14
2
[LLVMdev] [PATCH] Add a Scalarize pass
Hi Richard,
Thanks for working on this. Comments below.
> I don't understand the basis for the last statement though. Do you mean
> that you think most cases produce better code if scalarised at the SD stage
> rather than at the IR level? Could you give an example?
You presented an example that shows that scalarizing vectors allow further optimizations. But I don’t think that