[llvm] f42994f - [Matrix] Hide and describe matrix-propagate-shape option.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 14:29:15 PST 2020


Author: Florian Hahn
Date: 2020-01-21T14:28:47-08:00
New Revision: f42994f228d20e787fe1dfab69ab5c59ca9e0868

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

LOG: [Matrix] Hide and describe matrix-propagate-shape option.

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp b/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
index 0ff6ee8bcfcc..3f997aa4726e 100644
--- a/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+++ b/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
@@ -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,


        


More information about the llvm-commits mailing list