William S. Moses
659fc91698
Additional fixes
2021-12-23 22:05:03 -05:00
William S. Moses
c516d02208
Constant cast for switch
2021-12-23 22:05:03 -05:00
William S. Moses
0c6d3bd247
Fix llvm allocation
2021-12-23 22:05:03 -05:00
William S. Moses
2e0d977677
Permit distribute lowering
2021-12-23 22:05:03 -05:00
William S. Moses
bc543995a1
Fix free cast
2021-12-23 22:05:03 -05:00
William S. Moses
52d56133ed
Simplify subview
2021-12-23 20:13:53 -05:00
William S. Moses
a4ab8d5c86
Fix RedundantDynSubIndex
2021-12-23 20:13:53 -05:00
Morten Borup Petersen
d222ca2cad
Also link IPO with mlir-clang
2021-12-22 10:34:17 -05:00
Morten Borup Petersen
24fe1b9cd4
Change tool path in mlir-clang tests
2021-12-14 09:50:27 -08:00
Morten Borup Petersen
2d5701606c
Fix CI
2021-12-14 09:50:27 -08:00
Morten Borup Petersen
88c5badb72
Emit tools in ${CMAKE_BINARY_DIR}/bin dir
2021-12-14 09:50:27 -08:00
William S. Moses
3d35200b53
Fix CI
2021-12-11 16:53:20 -05:00
William Moses
539e12ef7e
Update build.yml
2021-12-11 16:51:39 -05:00
William S. Moses
0fa1fd52be
Remove secret
2021-12-11 16:43:15 -05:00
William S. Moses
9358717bb4
Move cmake
2021-12-10 09:59:31 -05:00
William S. Moses
ce76680ee9
Fix build
2021-12-10 09:59:31 -05:00
Morten Borup Petersen
1aa812343d
Remove stray function definition
2021-12-08 15:31:48 -05:00
Morten Borup Petersen
1f6f1e97e7
constrain dynamic indexing based on downstream casts
2021-12-08 15:31:48 -05:00
Morten Borup Petersen
e216fc1163
Also simplify trivial dynamic subindexing patterns
2021-12-08 15:31:48 -05:00
Morten Borup Petersen
caa0302dbb
Run check-polygeist in CI
2021-12-08 15:31:48 -05:00
Morten Borup Petersen
c0aaebb555
Add subindex lowering + testsuite
...
This commit adds support for lowering polygeist.subindex to memref.subview. This PR addressses this as a lowering pass rather than modifying the internals of Polygeist, since it's faster for me, an outsider, to implement :). In reality, I'd suspect memref.subview subsumes the capabilities of polygeist.subindex.
In addition to this, sets up a lit test suite for polygeist-opt and friends allowing for polygeist transformations to be tested.
Can be considered a partial fix to #111 (only considers statically sized memrefs, for now...).
2021-12-08 15:31:48 -05:00
William S. Moses
024cd1deb2
Simplify string handling
2021-12-06 15:01:39 -05:00
William S. Moses
4d825a0a7f
Fix format
2021-12-06 15:01:39 -05:00
William S. Moses
b9fc07c22d
Fix subbool
2021-12-06 15:01:39 -05:00
William S. Moses
3f72b4fb4b
Simplify construction/bools
2021-12-06 15:01:39 -05:00
William S. Moses
a7d383d6ab
Continued pytorch fixes
2021-12-06 15:01:39 -05:00
William S. Moses
70702fa37f
Handle complex
2021-12-05 01:49:09 -05:00
William S. Moses
207b8d013b
Fix format
2021-12-05 01:49:09 -05:00
William S. Moses
05fca6e0d5
Handle ScalarValueInitExpr
2021-12-05 01:49:09 -05:00
William S. Moses
67b848d3d2
Handle array fillers again
2021-12-05 01:49:09 -05:00
William S. Moses
9c10e53d8a
Init list cleanup
2021-12-05 01:49:09 -05:00
William S. Moses
624208e0e7
More robust initlistexpr
2021-12-05 01:49:09 -05:00
William S. Moses
14d070c717
Add more c stdlib
2021-12-05 01:49:09 -05:00
William S. Moses
34df9f27a3
Add strlen
2021-12-05 01:49:09 -05:00
William S. Moses
05fc0c7f8d
ABI mismatch
2021-12-05 01:49:09 -05:00
William S. Moses
9cb5fdcc0a
Fixing new
2021-12-05 01:49:09 -05:00
William S. Moses
0be6e3a6f9
Additional allocation
2021-12-05 01:49:09 -05:00
William S. Moses
b90c13bec9
Fix float zero'ing
2021-12-05 01:49:09 -05:00
William S. Moses
0da5b6df78
Fix cout error
2021-12-05 01:49:09 -05:00
William S. Moses
681cf8b7ea
Fix pair initialization
2021-12-05 01:49:09 -05:00
William S. Moses
d783d999de
minor
2021-12-05 01:49:09 -05:00
William S. Moses
d244ecaaa2
Fixup
2021-12-05 01:49:09 -05:00
Ivan Radanov Ivanov
cf0ba1ce69
There can be multiple includes, so the opt should be a list
2021-12-05 01:49:09 -05:00
Ivan Radanov Ivanov
4614993e38
Add integral to pointer cast kind
2021-12-05 01:49:09 -05:00
Ivan Radanov Ivanov
a0520dec02
Add include + debugging
2021-12-05 01:49:09 -05:00
Ivan Radanov Ivanov
178ada4004
Add include option
2021-12-03 17:16:38 -05:00
William S. Moses
6ea4a343fd
Fix upstream build
2021-12-01 14:51:48 -05:00
Morten Borup Petersen
a1224cc23f
Add a polygeist-opt tool
...
This commit adds a `polygeist-opt` command line tool. This allows us to drive each of the polygeist passes individually and as such lays the foundation for adding tests of the individual passes.
In doing so, a fair bit of restructuring/modifications of the various namespaces, function names etc. employed in the passes have been done. This was mostly due to inconsistensies in symbol names and namespaces which weren't being caught as errors due to missing inclusion of pass registration.
2021-11-29 11:14:19 -05:00
William S. Moses
2e6bb368ff
Handle lvalue of preinc
2021-11-16 14:49:01 -06:00
William S. Moses
69387109c8
Fix GCC CI
2021-11-16 13:03:41 -06:00