forked from OSchip/llvm-project
[OpenMP][FIX] Add missing `)` to remark
This commit is contained in:
parent
0a223827de
commit
8cb7d71355
|
@ -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>(
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue