[polly] static builds

Tobias Grosser tobias at grosser.es
Thu Mar 13 16:31:12 PDT 2014


On 03/13/2014 09:14 PM, Sebastian Pop wrote:
> Sebastian Pop wrote:
>> On the clang side, I still have some difficulties to call the polly
>> initializers, as clang does not seem to initialize passes individually, ie., it
>> only has these initializers:
>
> Attached a patch for clang.

The last two patches now also look both functional and as little 
intrusive as possible.

 From my side they seem fine.

After having committed these changes, there is still one problem on the 
Polly side. Specifically, the polly passes are not yet registered in the 
pass manager. I should be able to fix this by moving:

static llvm::RegisterStandardPasses
RegisterPollyOptimizer(llvm::PassManagerBuilder::EP_EarlyAsPossible,
                        registerPollyEarlyAsPossiblePasses);
}

from Polly.cpp to Support/RegisterPasses.cpp. The only functionality 
then left in Polly.cpp is the initializePolly() call. I think this is 
exactly what we want.

Cheers,
Tobias




More information about the llvm-commits mailing list