aboutsummaryrefslogtreecommitdiff
path: root/offload/plugins-nextgen/level_zero/CMakeLists.txt
diff options
context:
space:
mode:
authorMatt <MattPD@users.noreply.github.com>2026-02-25 04:15:39 -0600
committerGitHub <noreply@github.com>2026-02-25 10:15:39 +0000
commitbc91641a97b89ad3b1e246224e7dc88c9baf17f1 (patch)
treef15491fb54afa6d7d1f74ad7c6fdca751bba3c6e /offload/plugins-nextgen/level_zero/CMakeLists.txt
parentce952a224cbb51e7b081958e57899101324e4212 (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[flang][OpenMP] Fix crash in declare reduction with intrinsic operators (#182978)HEADmain
genOMP for OpenMPDeclareReductionConstruct unconditionally extracts ProcedureDesignator from OmpReductionIdentifier, but when the reduction identifier is an intrinsic operator like `+`, the parser produces a DefinedOperator instead. This causes a std::get crash. Visit both variants of OmpReductionIdentifier to extract the reduction name string, handling DefinedOperator (with IntrinsicOperator and DefinedOpName sub-variants) alongside the existing ProcedureDesignator path. This fixes the ICE; the underlying lack of derived-type reduction support (TODO in ReductionProcessor::getReductionInitValue) remains a separate issue. Co-authored-by: Matt P. Dziubinski <matt-p.dziubinski@hpe.com>
Diffstat (limited to 'offload/plugins-nextgen/level_zero/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions