[flang-commits] [flang] 882d400 - [Flang][OpenMP] NFC: Formatting change

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Mon Nov 20 08:45:06 PST 2023


Author: Kiran Chandramohan
Date: 2023-11-20T16:44:43Z
New Revision: 882d4006b96c067e9c14ba93cdb41f278923438e

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

LOG: [Flang][OpenMP] NFC: Formatting change

Added: 
    

Modified: 
    flang/lib/Lower/OpenMP.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Lower/OpenMP.cpp b/flang/lib/Lower/OpenMP.cpp
index 00f16026d9b4bb8..517812305358c77 100644
--- a/flang/lib/Lower/OpenMP.cpp
+++ b/flang/lib/Lower/OpenMP.cpp
@@ -2176,16 +2176,16 @@ static void createBodyOfOp(
 
   // Handle privatization. Do not privatize if this is the outer operation.
   if (clauses && !outerCombined) {
-    constexpr bool is_loop = std::is_same_v<Op, mlir::omp::WsLoopOp> ||
-                             std::is_same_v<Op, mlir::omp::SimdLoopOp>;
+    constexpr bool isLoop = std::is_same_v<Op, mlir::omp::WsLoopOp> ||
+                            std::is_same_v<Op, mlir::omp::SimdLoopOp>;
     if (!dsp) {
       DataSharingProcessor proc(converter, *clauses, eval);
       proc.processStep1();
-      proc.processStep2(op, is_loop);
+      proc.processStep2(op, isLoop);
     } else {
-      if (is_loop && args.size() > 0)
+      if (isLoop && args.size() > 0)
         dsp->setLoopIV(converter.getSymbolAddress(*args[0]));
-      dsp->processStep2(op, is_loop);
+      dsp->processStep2(op, isLoop);
     }
 
     if (storeOp)


        


More information about the flang-commits mailing list