From 465062745efdd33338df7fde2fb905eb20db2c1b Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Tue, 5 Dec 2017 17:41:34 +0000 Subject: [PATCH] [OPENMP] Remove non-required parameters for distribute simd outlined region, NFC. llvm-svn: 319800 --- clang/lib/Sema/SemaOpenMP.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/Sema/SemaOpenMP.cpp b/clang/lib/Sema/SemaOpenMP.cpp index e77f90833778..fa861b46339e 100644 --- a/clang/lib/Sema/SemaOpenMP.cpp +++ b/clang/lib/Sema/SemaOpenMP.cpp @@ -2125,6 +2125,7 @@ void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) { case OMPD_critical: case OMPD_taskgroup: case OMPD_distribute: + case OMPD_distribute_simd: case OMPD_ordered: case OMPD_atomic: case OMPD_target_data: @@ -2199,7 +2200,6 @@ void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) { break; } case OMPD_distribute_parallel_for_simd: - case OMPD_distribute_simd: case OMPD_distribute_parallel_for: case OMPD_teams_distribute_simd: case OMPD_target_teams_distribute: @@ -2220,7 +2220,7 @@ void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) { Params); break; } - case OMPD_teams_distribute_parallel_for: + case OMPD_teams_distribute_parallel_for: case OMPD_teams_distribute_parallel_for_simd: { QualType KmpInt32Ty = Context.getIntTypeForBitwidth(32, 1); QualType KmpInt32PtrTy =