This is a proof of concept that we can model the SCoP and the dependences as accurate as before even witout IndependentBlocks and CodePreparation. It should help to start a discussion about Polly as analyzer and make it more applicable at some point. Changes include: - Remove the CodeGeneration pass and tests - Remove the IndependentBlocks pass and tests - Removed some tests only testing the passes above (not all though) - Modified some tests that were failing without good reason - Allowed PHI nodes in ScopDetection - Changed the SCoP creation to allow the proper handling of PHIs - Modelt PHI nodes precicly in the SCoP - Enabled -polly-codegen-scev and disabled "DisableIntraScopScalarToArray" - A test case for non synthesizable PHI nodes (test/ScopInfo/phi_scalar_simple_1.ll) Features include: - Only PHI nodes needed are represented in the SCoP, PHI chains can therefore be reduced if they do not change the value. This should also "look through" trivial PHIs, similar to the old code prepare pass. Missing changes: - The code generation will not be able to handle PHI nodes properly Thoughts of any kind are welcome.
Details
Details
Diff Detail
Diff Detail