[llvm] [Clang] [OMPIRBuilder] Add Assertion to Prevent Null Pointer Dereference in OpenMP IR Builder (PR #115506)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 06:29:38 PST 2024
================
@@ -6966,6 +6966,10 @@ static Function *emitTargetTaskProxyFunction(OpenMPIRBuilder &OMPBuilder,
auto *ArgStructType =
dyn_cast<StructType>(ArgStructAlloca->getAllocatedType());
----------------
smanna12 wrote:
Thank you @Fznamznon for reviews!. Fixed now.
https://github.com/llvm/llvm-project/pull/115506
More information about the llvm-commits
mailing list