Page MenuHomePhabricator

[WIP][Clang][OpenMP] Add the support for compare clause in atomic directive
Needs ReviewPublic

Authored by tianshilei1992 on May 13 2021, 3:48 PM.

Details

Reviewers
jdoerfert
ABataev
Summary
NOTE: Major functionalities have been implemented, but still requires some minor tweak.
NOTE: compare capture combination will be in another patch.

Diff Detail

Unit TestsFailed

TimeTest
170 msx64 windows > Clang.OpenMP::atomic_ast_print.cpp
Script: -- : 'RUN: at line 1'; c:\ws\w16c2-2\llvm-project\premerge-checks\build\bin\clang.exe -cc1 -internal-isystem c:\ws\w16c2-2\llvm-project\premerge-checks\build\lib\clang\13.0.0\include -nostdsysteminc -verify -fopenmp -ast-print C:\ws\w16c2-2\llvm-project\premerge-checks\clang\test\OpenMP\atomic_ast_print.cpp | c:\ws\w16c2-2\llvm-project\premerge-checks\build\bin\filecheck.exe --allow-unused-prefixes C:\ws\w16c2-2\llvm-project\premerge-checks\clang\test\OpenMP\atomic_ast_print.cpp
490 msx64 windows > Clang.OpenMP::atomic_capture_codegen.cpp
Script: -- : 'RUN: at line 2'; c:\ws\w16c2-2\llvm-project\premerge-checks\build\bin\clang.exe -cc1 -internal-isystem c:\ws\w16c2-2\llvm-project\premerge-checks\build\lib\clang\13.0.0\include -nostdsysteminc -verify -triple x86_64-apple-darwin10 -target-cpu core2 -fopenmp -x c -emit-llvm C:\ws\w16c2-2\llvm-project\premerge-checks\clang\test\OpenMP\atomic_capture_codegen.cpp -o - | c:\ws\w16c2-2\llvm-project\premerge-checks\build\bin\filecheck.exe --allow-unused-prefixes C:\ws\w16c2-2\llvm-project\premerge-checks\clang\test\OpenMP\atomic_capture_codegen.cpp
190 msx64 windows > Clang.OpenMP::atomic_codegen.cpp
Script: -- : 'RUN: at line 1'; c:\ws\w16c2-2\llvm-project\premerge-checks\build\bin\clang.exe -cc1 -internal-isystem c:\ws\w16c2-2\llvm-project\premerge-checks\build\lib\clang\13.0.0\include -nostdsysteminc -verify -triple x86_64-apple-darwin10 -fopenmp -fexceptions -fcxx-exceptions -x c++ -emit-llvm C:\ws\w16c2-2\llvm-project\premerge-checks\clang\test\OpenMP\atomic_codegen.cpp -o - | c:\ws\w16c2-2\llvm-project\premerge-checks\build\bin\filecheck.exe --allow-unused-prefixes C:\ws\w16c2-2\llvm-project\premerge-checks\clang\test\OpenMP\atomic_codegen.cpp
80 msx64 windows > Clang.OpenMP::atomic_compare_codegen.cpp
Script: -- : 'RUN: at line 2'; c:\ws\w16c2-2\llvm-project\premerge-checks\build\bin\clang.exe -cc1 -internal-isystem c:\ws\w16c2-2\llvm-project\premerge-checks\build\lib\clang\13.0.0\include -nostdsysteminc -verify -triple x86_64-apple-darwin10 -target-cpu core2 -fopenmp -fopenmp-version=51 -x c -emit-llvm C:\ws\w16c2-2\llvm-project\premerge-checks\clang\test\OpenMP\atomic_compare_codegen.cpp -o - | c:\ws\w16c2-2\llvm-project\premerge-checks\build\bin\filecheck.exe --allow-unused-prefixes C:\ws\w16c2-2\llvm-project\premerge-checks\clang\test\OpenMP\atomic_compare_codegen.cpp
210 msx64 windows > Clang.OpenMP::atomic_messages.c
Script: -- : 'RUN: at line 1'; c:\ws\w16c2-2\llvm-project\premerge-checks\build\bin\clang.exe -cc1 -internal-isystem c:\ws\w16c2-2\llvm-project\premerge-checks\build\lib\clang\13.0.0\include -nostdsysteminc -verify=expected,omp45 -fopenmp -fopenmp-version=45 -ferror-limit 100 C:\ws\w16c2-2\llvm-project\premerge-checks\clang\test\OpenMP\atomic_messages.c -Wuninitialized
View Full Test Results (15 Failed)

Event Timeline

tianshilei1992 created this revision.May 13 2021, 3:48 PM
tianshilei1992 requested review of this revision.May 13 2021, 3:48 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 13 2021, 3:48 PM
tianshilei1992 edited the summary of this revision. (Show Details)May 13 2021, 3:49 PM
tianshilei1992 edited the summary of this revision. (Show Details)