[Mlir-commits] [mlir] [mlir][spirv] Add GpuToLLVM cconv suited to Vulkan, migrate last tests (PR #123384)

Andrea Faulds llvmlistbot at llvm.org
Mon Jan 20 10:11:40 PST 2025


================
@@ -62,10 +62,10 @@ struct FunctionCallBuilder {
 
 /// Collect a set of patterns to convert from the GPU dialect to LLVM and
 /// populate converter for gpu types.
-void populateGpuToLLVMConversionPatterns(LLVMTypeConverter &converter,
-                                         RewritePatternSet &patterns,
-                                         bool kernelBarePtrCallConv = false,
-                                         bool typeCheckKernelArgs = false);
+void populateGpuToLLVMConversionPatterns(
+    LLVMTypeConverter &converter, RewritePatternSet &patterns,
+    bool kernelBarePtrCallConv = false,
----------------
andfau-amd wrote:

That might not be a bad idea, but I am really unsure if it's possible for an option to be an enum, or what I have to do if I want that.

https://github.com/llvm/llvm-project/pull/123384


More information about the Mlir-commits mailing list