forked from OSchip/llvm-project
[mlir] Mark gpu dialect illegal in gpu-to-llvm conversion
Reviewed By: herhut, bondhugula Differential Revision: https://reviews.llvm.org/D104208
This commit is contained in:
parent
96ca03493a
commit
abe501f240
|
@ -311,6 +311,8 @@ void GpuToLLVMConversionPass::runOnOperation() {
|
|||
RewritePatternSet patterns(&getContext());
|
||||
LLVMConversionTarget target(getContext());
|
||||
|
||||
target.addIllegalDialect<gpu::GPUDialect>();
|
||||
|
||||
populateVectorToLLVMConversionPatterns(converter, patterns);
|
||||
populateStdToLLVMConversionPatterns(converter, patterns);
|
||||
populateAsyncStructuralTypeConversionsAndLegality(converter, patterns,
|
||||
|
|
Loading…
Reference in New Issue