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

Matthias Springer llvmlistbot at llvm.org
Wed Dec 18 07:40:27 PST 2024


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

Not sure. Looking at the git history (https://reviews.llvm.org/D155463), there was a test case that had it in the pass pipeline. See also https://reviews.llvm.org/D103187. Maybe @ThomasRaoux knows.

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


More information about the Mlir-commits mailing list