[llvm-branch-commits] [clang] 819250f - Revert "[CIR][NFC] Add NYI for OMPSplitDirective stmt (#190329)"

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 3 07:05:43 PDT 2026


Author: Erich Keane
Date: 2026-04-03T07:05:39-07:00
New Revision: 819250f705518eeed072ddf9283ae93957ad7e10

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

LOG: Revert "[CIR][NFC] Add NYI for OMPSplitDirective stmt (#190329)"

This reverts commit 0932472f3b034780bec98302c09a51d58368c825.

Added: 
    

Modified: 
    clang/lib/CIR/CodeGen/CIRGenFunction.h
    clang/lib/CIR/CodeGen/CIRGenStmt.cpp
    clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/CIR/CodeGen/CIRGenFunction.h b/clang/lib/CIR/CodeGen/CIRGenFunction.h
index ccdf3cbd2f0ea..0bd440a61db20 100644
--- a/clang/lib/CIR/CodeGen/CIRGenFunction.h
+++ b/clang/lib/CIR/CodeGen/CIRGenFunction.h
@@ -2223,7 +2223,6 @@ class CIRGenFunction : public CIRGenTypeCache {
   mlir::LogicalResult
   emitOMPGenericLoopDirective(const OMPGenericLoopDirective &s);
   mlir::LogicalResult emitOMPReverseDirective(const OMPReverseDirective &s);
-  mlir::LogicalResult emitOMPSplitDirective(const OMPSplitDirective &s);
   mlir::LogicalResult
   emitOMPInterchangeDirective(const OMPInterchangeDirective &s);
   mlir::LogicalResult emitOMPAssumeDirective(const OMPAssumeDirective &s);

diff  --git a/clang/lib/CIR/CodeGen/CIRGenStmt.cpp b/clang/lib/CIR/CodeGen/CIRGenStmt.cpp
index fe626726f5017..07d1d62053ea6 100644
--- a/clang/lib/CIR/CodeGen/CIRGenStmt.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenStmt.cpp
@@ -403,8 +403,6 @@ mlir::LogicalResult CIRGenFunction::emitStmt(const Stmt *s,
     return emitOMPGenericLoopDirective(cast<OMPGenericLoopDirective>(*s));
   case Stmt::OMPReverseDirectiveClass:
     return emitOMPReverseDirective(cast<OMPReverseDirective>(*s));
-  case Stmt::OMPSplitDirectiveClass:
-    return emitOMPSplitDirective(cast<OMPSplitDirective>(*s));
   case Stmt::OMPInterchangeDirectiveClass:
     return emitOMPInterchangeDirective(cast<OMPInterchangeDirective>(*s));
   case Stmt::OMPAssumeDirectiveClass:

diff  --git a/clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp b/clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
index eb4934644b519..0d3b44db98307 100644
--- a/clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
@@ -470,11 +470,6 @@ CIRGenFunction::emitOMPReverseDirective(const OMPReverseDirective &s) {
   return mlir::failure();
 }
 mlir::LogicalResult
-CIRGenFunction::emitOMPSplitDirective(const OMPSplitDirective &s) {
-  getCIRGenModule().errorNYI(s.getSourceRange(), "OpenMP OMPSplitDirective");
-  return mlir::failure();
-}
-mlir::LogicalResult
 CIRGenFunction::emitOMPInterchangeDirective(const OMPInterchangeDirective &s) {
   getCIRGenModule().errorNYI(s.getSourceRange(),
                              "OpenMP OMPInterchangeDirective");


        


More information about the llvm-branch-commits mailing list