daphne-eu / daphne

DAPHNE: An Open and Extensible System Infrastructure for Integrated Data Analysis Pipelines
Apache License 2.0
67 stars 62 forks source link

Issue #518: Add Loop Vectorization #777

Open nuernbergk opened 4 months ago

nuernbergk commented 4 months ago

Implements #518: Loop Vectorization. All ew-Binary and Unary Operations are implemented, as well as nested expressions of these. Currently not supported are casts and aggregation. The test case loop-vectorization.mlir corresponds to this daphne code.

Note that there are formatting changes in DaphneIrExector.cpp and Passes.h, as I used the .clang-format provided in #723. If necessary, I can of course revert these.

nuernbergk commented 3 months ago

The build failed on the include of the SCF.h file, this might because of a typo (capitalization error). Fixed. Can't test on my machine because it worked there even before fixing.

philipportner commented 3 months ago

The build failed on the include of the SCF.h file, this might because of a typo (capitalization error). Fixed. Can't test on my machine because it worked there even before fixing.

Hi Nils, this works, I applied the same patch before when compiling the code on my machine. Thanks for pushing the fix!