Skip to content

Commit 0745add

Browse files
[mlir][GPU] Do not strip location info when lowering to NVVM (#120432)
This is needed for a subsequent commit that reads location information when lowering `gpu.assert`.
1 parent eba7690 commit 0745add

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlir/lib/Dialect/GPU/Pipelines/GPUToNVVMPipeline.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ void buildCommonPassPipeline(
7373
//===----------------------------------------------------------------------===//
7474
void buildGpuPassPipeline(OpPassManager &pm,
7575
const mlir::gpu::GPUToNVVMPipelineOptions &options) {
76-
pm.addNestedPass<gpu::GPUModuleOp>(createStripDebugInfoPass());
7776
ConvertGpuOpsToNVVMOpsOptions opt;
7877
opt.useBarePtrCallConv = options.kernelUseBarePtrCallConv;
7978
opt.indexBitwidth = options.indexBitWidth;

0 commit comments

Comments
 (0)