[all-commits] [llvm/llvm-project] a7bca1: Fix assert during the call to getCanonicalDecl.
jyu2-git via All-commits
all-commits at lists.llvm.org
Wed Aug 3 09:20:30 PDT 2022
Author: Jennifer Yu <jennifer.yu at intel.com>
Date: 2022-08-03 (Wed, 03 Aug 2022)
Fix assert during the call to getCanonicalDecl.
The root problem is in isOpenMPRebuildMemberExpr, it is only need to rebuild
for field expression. No need for member function call.
The fix is to check field for member expression and skip rebuild for member
Differential Revision: https://reviews.llvm.org/D131024
More information about the All-commits