File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/Dialect/ONNX/Transforms Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1099,9 +1099,19 @@ Value ConstPropNonZero(
1099
1099
// ===----------------------------------------------------------------------===//
1100
1100
// Pattern definition.
1101
1101
// ===----------------------------------------------------------------------===//
1102
+ #if defined(_MSC_VER)
1103
+ #pragma warning(push)
1104
+ #pragma warning( \
1105
+ disable : 4927 ) // Disable warning: illegal conversion; more than one
1106
+ // user-defined conversion has been implicitly applied
1107
+ #endif
1102
1108
1103
1109
#include " src/Dialect/ONNX/Transforms/ONNXConstProp.inc"
1104
1110
1111
+ #if defined(_MSC_VER)
1112
+ #pragma warning(pop)
1113
+ #endif
1114
+
1105
1115
// ===----------------------------------------------------------------------===//
1106
1116
// Code to perform constant propagation for split.
1107
1117
// Not done with tablegen which doesn't support variadic results.
You can’t perform that action at this time.
0 commit comments