There are only a couple of warnings when compiling with VS on Windows. This fixes the last remaining warnings so that we can enable LLVM_ENABLE_WERROR on the mlir windows bot.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp | ||
---|---|---|
60 | 1u? This looks identical to below. |
mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp | ||
---|---|---|
60 | You mean uint64_t(1u)? Or do you mean to use 1u because the statement below does? The statement below is different (as it does a subtraction as well), so the Visual Studio compiler is happy with it. |
Thanks for fixing these!
mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp | ||
---|---|---|
60 | I meant to use 1u, as that would make these consistent. Though maybe it's better to pull this out into a separate variable (to share)? It doesn't matter much to me either way, the comment was more in passing. |
1u? This looks identical to below.