message: Use MLIR target configuration for lowering to ROCDL.
  This is now exposed as the method configureGpuToROCDLConversionLegality(), so
  we can easily use it in kernel_lowering.
diff: @@ -227,17 +227,7 @@ class LowerToROCDLPass
  ::mlir::populateAffineToStdConversionPatterns(patterns, m.getContext());
  ::mlir::ConversionTarget target(getContext());
  - target.addIllegalDialect<::mlir::gpu::GPUDialect>();
  - target.addIllegalOp<mlir::LLVM::CosOp, mlir::LLVM::ExpOp,
  - mlir::LLVM::FAbsOp, mlir::LLVM::FCeilOp,
  - mlir::LLVM::LogOp, mlir::LLVM::Log10Op,
  - mlir::LLVM::Log2Op, mlir::LLVM::SinOp>();
  - target.addIllegalOp<mlir::FuncOp>();
  - target.addLegalDialect<::mlir::LLVM::LLVMDialect>();
  - target.addLegalDialect<::mlir::ROCDL::ROCDLDialect>();
  - // TODO(csigg): Remove once we support replacing non-root ops.
  - target.addLegalOp<::mlir::gpu::GPUModuleOp, ::mlir::gpu::ModuleEndOp,
  - ::mlir::gpu::YieldOp>();
  + ::mlir::configureGpuToROCDLConversionLegality(target);
  if (failed(mlir::applyFullConversion(m, target, std::move(patterns)))) {
  signalPassFailure();
  }
  