OSDN Git Service

[Matrix] Hide and describe matrix-propagate-shape option.
authorFlorian Hahn <florian_hahn@apple.com>
Tue, 21 Jan 2020 22:22:33 +0000 (14:22 -0800)
committerFlorian Hahn <florian_hahn@apple.com>
Tue, 21 Jan 2020 22:28:47 +0000 (14:28 -0800)
llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp

index 0ff6ee8..3f997aa 100644 (file)
@@ -37,8 +37,10 @@ using namespace PatternMatch;
 
 #define DEBUG_TYPE "lower-matrix-intrinsics"
 
-static cl::opt<bool> EnableShapePropagation("matrix-propagate-shape",
-                                            cl::init(true));
+static cl::opt<bool> EnableShapePropagation(
+    "matrix-propagate-shape", cl::init(true), cl::Hidden,
+    cl::desc("Enable/disable shape propagation from matrix intrinsics to other "
+             "instructions."));
 
 static cl::opt<bool> AllowContractEnabled(
     "matrix-allow-contract", cl::init(false), cl::Hidden,