Commit Graph

19 Commits

Author SHA1 Message Date
William S. Moses 25f43edce7 [CUDALower] Fix inlining multi-block 2021-12-31 21:23:51 -05:00
William S. Moses 239a2c4d82 Rebase LLVM 2021-12-31 21:23:51 -05:00
William S. Moses 8832c51b0a Global initialization 2021-12-31 21:23:51 -05:00
William S. Moses 56b75654fd [CPUify] Handle if with returns 2021-12-31 21:23:51 -05:00
William S. Moses 37a338926a Add tests 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
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 02bd12f11a Bump layout api change 2021-11-11 10:40:08 -05:00
William S. Moses 26bcbec66a Bump LLVM 2021-10-17 10:05:47 -04:00
William S. Moses 9619d130ee Cleanup code 2021-09-16 10:58:17 -04:00
William S. Moses 336bc9b81c Canonicalize for 2021-09-16 10:58:17 -04:00
Alex Zinenko 2f73a8622e Only consider immediately-nested barriers in hasNestedBarrier
Barriers are active on the first ancestor ParallelOp. When looking for
nested barriers, ignore those that are nested inside ParallelOps, which
are in turn nested in the operation of interest as they are active on
different loops.
2021-09-16 10:58:17 -04:00
William S. Moses 1a1a1955b6 Fixup lower 2021-09-16 10:58:17 -04:00
William S. Moses 8b95da86a9 Fix parallel loop distribute 2021-09-16 10:58:17 -04:00
William S. Moses 5799e8f124 Symbol linkage fixes 2021-09-16 10:58:17 -04:00
William S. Moses d6c7fe0d55 Simplify loop distribute 2021-09-16 10:58:17 -04:00
William S. Moses f5b5341946 Format code 2021-06-30 17:34:04 -04:00
William S. Moses 988ea750e3 Initial non-fork commit 2021-06-23 13:15:11 -04:00