Add a link to the rational on lack of const for IR units in the developer guide
authorMehdi Amini <aminim@google.com>
Sat, 31 Aug 2019 22:23:31 +0000 (15:23 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Sat, 31 Aug 2019 22:24:02 +0000 (15:24 -0700)
PiperOrigin-RevId: 266583374

mlir/g3doc/DeveloperGuide.md

index 18be078..717632b 100644 (file)
@@ -13,6 +13,7 @@ LLVM style guide:
 *   Adopts [camelBack](https://llvm.org/docs/Proposals/VariableNames.html);
 *   Except for IR units (Region, Block, and Operation), non-nullable output
     argument are passed by non-const reference in general.
+*   IR constructs are not designed for [const correctness](UsageOfConst.md).
 
 ## Pass name and other command line options