[flang-commits] [flang] 1189d97 - [fir][NFC] Fix indentation for fir.alloca builders

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Tue Oct 26 05:56:12 PDT 2021


Author: Valentin Clement
Date: 2021-10-26T14:55:47+02:00
New Revision: 1189d97d12a354376832a11eff1b3940b95be3f4

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

LOG: [fir][NFC] Fix indentation for fir.alloca builders

Added: 
    

Modified: 
    flang/include/flang/Optimizer/Dialect/FIROps.td

Removed: 
    


################################################################################
diff  --git a/flang/include/flang/Optimizer/Dialect/FIROps.td b/flang/include/flang/Optimizer/Dialect/FIROps.td
index 481aeefb0ab2..f58862606deb 100644
--- a/flang/include/flang/Optimizer/Dialect/FIROps.td
+++ b/flang/include/flang/Optimizer/Dialect/FIROps.td
@@ -142,29 +142,29 @@ def fir_AllocaOp : fir_Op<"alloca", [AttrSizedOperandSegments,
   let builders = [
     OpBuilder<(ins "mlir::Type":$inType, "llvm::StringRef":$uniqName,
       "llvm::StringRef":$bindcName, CArg<"mlir::ValueRange", "{}">:$typeparams,
-       CArg<"mlir::ValueRange", "{}">:$shape,
-       CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>,
-     OpBuilder<(ins "mlir::Type":$inType, "llvm::StringRef":$uniqName,
-       "llvm::StringRef":$bindcName, "bool":$pinned,
-       CArg<"mlir::ValueRange", "{}">:$typeparams,
-       CArg<"mlir::ValueRange", "{}">:$shape,
-       CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>,
-       OpBuilder<(ins "mlir::Type":$inType, "llvm::StringRef":$uniqName,
-       CArg<"mlir::ValueRange", "{}">:$typeparams,
-       CArg<"mlir::ValueRange", "{}">:$shape,
-       CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>,
-     OpBuilder<(ins "mlir::Type":$inType, "llvm::StringRef":$uniqName,
-       "bool":$pinned, CArg<"mlir::ValueRange", "{}">:$typeparams,
-       CArg<"mlir::ValueRange", "{}">:$shape,
-       CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>,
-     OpBuilder<(ins "mlir::Type":$inType, "bool":$pinned,
-       CArg<"mlir::ValueRange", "{}">:$typeparams,
-       CArg<"mlir::ValueRange", "{}">:$shape,
-       CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>,
-     OpBuilder<(ins "mlir::Type":$inType,
-       CArg<"mlir::ValueRange", "{}">:$typeparams,
-       CArg<"mlir::ValueRange", "{}">:$shape,
-       CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>];
+      CArg<"mlir::ValueRange", "{}">:$shape,
+      CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>,
+    OpBuilder<(ins "mlir::Type":$inType, "llvm::StringRef":$uniqName,
+      "llvm::StringRef":$bindcName, "bool":$pinned,
+      CArg<"mlir::ValueRange", "{}">:$typeparams,
+      CArg<"mlir::ValueRange", "{}">:$shape,
+      CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>,
+      OpBuilder<(ins "mlir::Type":$inType, "llvm::StringRef":$uniqName,
+      CArg<"mlir::ValueRange", "{}">:$typeparams,
+      CArg<"mlir::ValueRange", "{}">:$shape,
+      CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>,
+    OpBuilder<(ins "mlir::Type":$inType, "llvm::StringRef":$uniqName,
+      "bool":$pinned, CArg<"mlir::ValueRange", "{}">:$typeparams,
+      CArg<"mlir::ValueRange", "{}">:$shape,
+      CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>,
+    OpBuilder<(ins "mlir::Type":$inType, "bool":$pinned,
+      CArg<"mlir::ValueRange", "{}">:$typeparams,
+      CArg<"mlir::ValueRange", "{}">:$shape,
+      CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>,
+    OpBuilder<(ins "mlir::Type":$inType,
+      CArg<"mlir::ValueRange", "{}">:$typeparams,
+      CArg<"mlir::ValueRange", "{}">:$shape,
+      CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>];
 
   let verifier = "return ::verify(*this);";
 


        


More information about the flang-commits mailing list