Xiang Li
c8bc72dc79
[mlir][spirv][cf] legalize block arguments when convert cf to spirv ( #71288 )
...
When converting branches, legalize target block arguments first.
Fixes llvm#70813
2023-11-04 23:48:59 -04:00
Jakub Kuderski
13644f0bda
[mlir][spirv][cf] Check destination block argument types ( #70889 )
...
Do not match on illegal destination blocks. Also apply some minor
cleanups.
TODO: We should add region/block argument type conversions to properly
address this.
Issue: https://github.com/llvm/llvm-project/issues/70813
2023-11-02 00:34:51 -04:00
Jakub Kuderski
5ab6ef758f
[mlir][spirv] Change dialect name from 'spv' to 'spirv'
...
Tested with `check-mlir` and `check-mlir-integration`.
Issue: https://github.com/llvm/llvm-project/issues/56863
Reviewed By: antiagainst
Differential Revision: https://reviews.llvm.org/D134620
2022-09-26 10:58:30 -04:00
Kazu Hirata
0a706be316
[mlir] Don't include SetVector.h (NFC)
2022-09-17 13:36:16 -07:00
River Riddle
ace01605e0
[mlir] Split out a new ControlFlow dialect from Standard
...
This dialect is intended to model lower level/branch based control-flow constructs. The initial set
of operations are: AssertOp, BranchOp, CondBranchOp, SwitchOp; all split out from the current
standard dialect.
See https://discourse.llvm.org/t/standard-dialect-the-final-chapter/6061
Differential Revision: https://reviews.llvm.org/D118966
2022-02-06 14:51:16 -08:00