Polygeist
Polygeist copied to clipboard
C/C++ frontend for MLIR. Also features polyhedral optimizations, parallel optimizations, and more!
Hi, I'm trying to run PolyBench/C benchmarks with polyhedral pluto optimization using Polygeist, but I cannot succeed. I used the earlier script at https://github.com/wsmoses/Polygeist-Script/blob/main/polybench-c-4.2.1-beta/run.sh as reference. I used the options...
On the input ``` char add_one(char x) { char one = 1; return x + one; } ``` Running ``` bin/cgeist '-function=*' -S -O0 add_one.cpp ``` at commit 4b04755a63fc gives...
Given the following C++ code: ``` short isqrt(short num) { short res = 0; short bit = 1 = res + bit) { num -= res + bit; res =...
This exports scop https://github.com/llvm/Polygeist/blob/add-polymer2/tools/polymer/lib/Target/OpenScop/ConvertFromOpenScop.cc
The following C code generates wrong mlir code ```C int foo(int num) { int sum = 0; int i = 0; for (; i < num; i += 5) {...
1. Enabling inline for Polygeist Ops 2. fix for unary pre decrement op to have lvalue by reference
+ Added lit test inline.mlir
# reproduce Here is the code implement matrix multiply. The keypoint is `#define SIZE_TYPE size_t`. Notes if the `SIZE_TYPE` changed into `int`, the code will not cause error. compile method:...
When I tried to build this repo as the `README` file, it always use out all of my memory. Even When I allocate another 100GB swapfile when ninja is using...
I believe Polygeist is a highly valuable project, and I am very interested. However, so far, I am not clear about the upcoming subtasks that need to be completed for...
*edit: I added a smaller MWE in the [comment below](https://github.com/llvm/Polygeist/issues/368#issuecomment-1834714323).* Hi, I'm banging my head against the wall trying to figure out why the second `memref.load` and `memref.store` in this...