[all-commits] [llvm/llvm-project] a6a2a7: [OpenACC] Fix Crash on collapse that doesn't check...
Erich Keane via All-commits
all-commits at lists.llvm.org
Mon Apr 13 16:47:42 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a6a2a717c57aaa3fd3beb98bfa55c2f2f285a024
https://github.com/llvm/llvm-project/commit/a6a2a717c57aaa3fd3beb98bfa55c2f2f285a024
Author: Erich Keane <ekeane at nvidia.com>
Date: 2026-04-13 (Mon, 13 Apr 2026)
Changed paths:
M clang/lib/Sema/TreeTransform.h
M clang/test/SemaOpenACC/loop-construct-collapse-clause.cpp
Log Message:
-----------
[OpenACC] Fix Crash on collapse that doesn't check its transform (#191836)
GH191833 reports a problem with tree transformation of a collapse clause
when the expression in the clause is invalid. This patch makes sure we
skip out of transforming this clause if it ever encounters an invalid
expression.
I also analyzed the rest of the clauses in this visitor and found 1
other that was suspicious, so I added a check for that one as well. The
rest seemingly were all done correctly.
Fixes: #191833
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list