diff options
| author | Matt <MattPD@users.noreply.github.com> | 2026-02-25 04:15:39 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-25 10:15:39 +0000 |
| commit | bc91641a97b89ad3b1e246224e7dc88c9baf17f1 (patch) | |
| tree | f15491fb54afa6d7d1f74ad7c6fdca751bba3c6e /offload/plugins-nextgen/level_zero/CMakeLists.txt | |
| parent | ce952a224cbb51e7b081958e57899101324e4212 (diff) | |
| download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 | |
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
