Polygeist icon indicating copy to clipboard operation
Polygeist copied to clipboard

C/C++ frontend for MLIR. Also features polyhedral optimizations, parallel optimizations, and more!

Results 89 Polygeist issues
Sort by recently updated
recently updated
newest added

This should be a (hopefully) foolproof method of performing indexing into a memref. A reintrepret_cast is inserted with a dynamic index calculated from the subindex index operand + the product...

this should be able to eliminate some of the temporary storage introduced by translating shared memory

Hello, The following code snippet : ```` int less () { .. } int bsearch(int i,int (*compar)()) { .. } int bug4(int i) { int res = bsearch(1,less); } ````...

Hi, we are leveraging Polygesit's frontend to generate MLIR code, but it seems it generates different code for the same semantics. Following shows an example of conv2d using `+=1` to...

Hi! While Polygeist seems to have good support for structs, member functions and templating, I came across issues when trying to overload built-in operators. A simple case is: ``` struct...

I saw the instruction in the Polygeist-Script project (https://github.com/wsmoses/Polygeist-Script/): ``` polymerpar) mlir-clang $CFLAGS $TEST.c -o $TEST.$TOOL.in.mlir polymer-opt --demote-loop-reduction \ --extract-scop-stmt \ --pluto-opt='parallelize=1' \ --inline \ --canonicalize $TEST.$TOOL.in.mlir 2>/dev/null > $TEST.$TOOL.out.mlir...

Using this versioning: - clang and llvm 11 - mlir-clang: e5b8b83312c7a5f6fd94ea1a2cda87e54c4451fd - polybench-c-4.2.1-beta - polymer: a7403a9ea584a8de1b3db930e687917cf60b199a We run into an error. An example, starting from a home folder that contains...

See the following code: ```c typedef struct { float x; float y; } MyStruct; void test() { MyStruct a = {0, 0}; MyStruct b = {1, 1}; a = b;...

I'm trying to build on my M1 Mac and some tests are failing unexpectedly. ``` ❯ clang --version Apple clang version 13.0.0 (clang-1300.0.29.30) Target: arm64-apple-darwin21.2.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin...