[OpenMP][FIX] Add missing `)` to remark

This commit is contained in:
Johannes Doerfert 2021-07-10 18:40:32 -05:00
parent 0a223827de
commit 8cb7d71355
2 changed files with 3 additions and 3 deletions

View File

@ -2871,7 +2871,7 @@ struct AAKernelInfoFunction : AAKernelInfo {
return ORA
<< "State machine fallback caused by this call. If it is a "
"false positive, use "
"`__attribute__((assume(\"omp_no_openmp\"))` "
"`__attribute__((assume(\"omp_no_openmp\")))` "
"(or \"omp_no_parallelism\").";
};
A.emitRemark<OptimizationRemarkAnalysis>(

View File

@ -2,8 +2,8 @@
target triple = "nvptx64"
; CHECK: remark: llvm/test/Transforms/OpenMP/custom_state_machines_remarks.c:11:1: Generic-mode kernel is executed with a customized state machine that requires a fallback [1 known parallel regions, 2 unkown parallel regions] (bad)
; CHECK: remark: llvm/test/Transforms/OpenMP/custom_state_machines_remarks.c:13:5: State machine fallback caused by this call. If it is a false positive, use `__attribute__((assume("omp_no_openmp"))` (or "omp_no_parallelism")
; CHECK: remark: llvm/test/Transforms/OpenMP/custom_state_machines_remarks.c:15:5: State machine fallback caused by this call. If it is a false positive, use `__attribute__((assume("omp_no_openmp"))` (or "omp_no_parallelism")
; CHECK: remark: llvm/test/Transforms/OpenMP/custom_state_machines_remarks.c:13:5: State machine fallback caused by this call. If it is a false positive, use `__attribute__((assume("omp_no_openmp")))` (or "omp_no_parallelism")
; CHECK: remark: llvm/test/Transforms/OpenMP/custom_state_machines_remarks.c:15:5: State machine fallback caused by this call. If it is a false positive, use `__attribute__((assume("omp_no_openmp")))` (or "omp_no_parallelism")
; CHECK: remark: llvm/test/Transforms/OpenMP/custom_state_machines_remarks.c:20:1: Generic-mode kernel is executed with a customized state machine [1 known parallel regions] (good)
;; void unknown(void);