[llvm] fc23564 - [NFC][Clang][OMPX] Fix a typo in `OMP.td` (#96398)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 22 12:38:32 PDT 2024


Author: Shilei Tian
Date: 2024-06-22T15:38:28-04:00
New Revision: fc23564c44f3eff1847462253d43c08b85489148

URL: https://github.com/llvm/llvm-project/commit/fc23564c44f3eff1847462253d43c08b85489148
DIFF: https://github.com/llvm/llvm-project/commit/fc23564c44f3eff1847462253d43c08b85489148.diff

LOG: [NFC][Clang][OMPX] Fix a typo in `OMP.td` (#96398)

Added: 
    

Modified: 
    llvm/include/llvm/Frontend/OpenMP/OMP.td

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Frontend/OpenMP/OMP.td b/llvm/include/llvm/Frontend/OpenMP/OMP.td
index dcb4608b687d7..c818448d3d190 100644
--- a/llvm/include/llvm/Frontend/OpenMP/OMP.td
+++ b/llvm/include/llvm/Frontend/OpenMP/OMP.td
@@ -303,7 +303,7 @@ def OMPC_NumThreads : Clause<"num_threads"> {
 def OMPC_OMPX_Attribute : Clause<"ompx_attribute"> {
   let clangClass = "OMPXAttributeClause";
 }
-def OMPC_OMX_Bare : Clause<"ompx_bare"> {
+def OMPC_OMPX_Bare : Clause<"ompx_bare"> {
   let clangClass = "OMPXBareClause";
 }
 def OMPC_OMPX_DynCGroupMem : Clause<"ompx_dyn_cgroup_mem"> {
@@ -2026,7 +2026,7 @@ def OMP_TargetTeams : Directive<"target teams"> {
     VersionedClause<OMPC_NoWait>,
     VersionedClause<OMPC_NumTeams>,
     VersionedClause<OMPC_OMPX_DynCGroupMem>,
-    VersionedClause<OMPC_OMX_Bare>,
+    VersionedClause<OMPC_OMPX_Bare>,
     VersionedClause<OMPC_ThreadLimit>,
   ];
   let leafConstructs = [OMP_Target, OMP_Teams];


        


More information about the llvm-commits mailing list