[clang] [llvm] [OpenMP] Ensure the actual kernel is annotated with launch bounds (PR #99927)

2024-07-23 Thread Johannes Doerfert via cfe-commits
https://github.com/jdoerfert closed https://github.com/llvm/llvm-project/pull/99927 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [OpenMP] Ensure the actual kernel is annotated with launch bounds (PR #99927)

2024-07-22 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 approved this pull request. I guess we did this debugging stuff before, so nothing really changed here. https://github.com/llvm/llvm-project/pull/99927 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [llvm] [OpenMP] Ensure the actual kernel is annotated with launch bounds (PR #99927)

2024-07-22 Thread Joseph Huber via cfe-commits
@@ -4569,7 +4569,17 @@ OpenMPIRBuilder::createTargetInit(const LocationDescription , bool IsSPMD, Constant *MayUseNestedParallelismVal = ConstantInt::getSigned(Int8, true); Constant *DebugIndentionLevelVal = ConstantInt::getSigned(Int16, 0); - Function *Kernel =

[clang] [llvm] [OpenMP] Ensure the actual kernel is annotated with launch bounds (PR #99927)

2024-07-22 Thread Johannes Doerfert via cfe-commits
@@ -4569,7 +4569,17 @@ OpenMPIRBuilder::createTargetInit(const LocationDescription , bool IsSPMD, Constant *MayUseNestedParallelismVal = ConstantInt::getSigned(Int8, true); Constant *DebugIndentionLevelVal = ConstantInt::getSigned(Int16, 0); - Function *Kernel =

[clang] [llvm] [OpenMP] Ensure the actual kernel is annotated with launch bounds (PR #99927)

2024-07-22 Thread Joseph Huber via cfe-commits
@@ -4569,7 +4569,17 @@ OpenMPIRBuilder::createTargetInit(const LocationDescription , bool IsSPMD, Constant *MayUseNestedParallelismVal = ConstantInt::getSigned(Int8, true); Constant *DebugIndentionLevelVal = ConstantInt::getSigned(Int16, 0); - Function *Kernel =

[clang] [llvm] [OpenMP] Ensure the actual kernel is annotated with launch bounds (PR #99927)

2024-07-22 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Johannes Doerfert (jdoerfert) Changes In debug mode there is a wrapper (the kernel) around the function in which we generate the kernel code. We worked around this before to get the correct kernel name, but now we really