[Mlir-commits] [mlir] [mlir][GPU] Do not strip location info when lowering to NVVM (PR #120432)

Thomas Raoux llvmlistbot at llvm.org
Wed Dec 18 08:47:12 PST 2024


================
@@ -73,7 +73,6 @@ void buildCommonPassPipeline(
 //===----------------------------------------------------------------------===//
 void buildGpuPassPipeline(OpPassManager &pm,
                           const mlir::gpu::GPUToNVVMPipelineOptions &options) {
-  pm.addNestedPass<gpu::GPUModuleOp>(createStripDebugInfoPass());
----------------
ThomasRaoux wrote:

I remember that passing ptx with debug info used to crash nvidia driver. I had not debugged it at the time though

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


More information about the Mlir-commits mailing list