r319800 - [OPENMP] Remove non-required parameters for distribute simd outlined

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 5 09:41:35 PST 2017


Author: abataev
Date: Tue Dec  5 09:41:34 2017
New Revision: 319800

URL: http://llvm.org/viewvc/llvm-project?rev=319800&view=rev
Log:
[OPENMP] Remove non-required parameters for distribute simd outlined
region, NFC.

Modified:
    cfe/trunk/lib/Sema/SemaOpenMP.cpp

Modified: cfe/trunk/lib/Sema/SemaOpenMP.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOpenMP.cpp?rev=319800&r1=319799&r2=319800&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOpenMP.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOpenMP.cpp Tue Dec  5 09:41:34 2017
@@ -2125,6 +2125,7 @@ void Sema::ActOnOpenMPRegionStart(OpenMP
   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(OpenMP
     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(OpenMP
                              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 =




More information about the cfe-commits mailing list