[all-commits] [llvm/llvm-project] 22e1df: [LLVM][OpenMPOpt] Fix a crash when associated func...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Wed Sep 13 17:23:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 22e1df7f5bf70626618da3ba846b9e97b1adf5b1
https://github.com/llvm/llvm-project/commit/22e1df7f5bf70626618da3ba846b9e97b1adf5b1
Author: Shilei Tian <i at tianshilei.me>
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
A llvm/test/Transforms/OpenMP/indirect_call_kernel_info_crash.ll
Log Message:
-----------
[LLVM][OpenMPOpt] Fix a crash when associated function is nullptr (#66274)
The associated function can be a nullptr if it is an indirect call.
This causes a crash in `CheckCallee` which always assumes the callee
is a valid pointer.
Fix #66904.
More information about the All-commits
mailing list