[all-commits] [llvm/llvm-project] c26fcd: [MLIR] [Arith] [NFC] Remove switch statement defau...
Max Kudryavtsev via All-commits
all-commits at lists.llvm.org
Tue Mar 1 15:25:36 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c26fcd1ab8af34fb0841cd666525c5aad9888e3e
https://github.com/llvm/llvm-project/commit/c26fcd1ab8af34fb0841cd666525c5aad9888e3e
Author: Max Kudryavtsev <makudrya at microsoft.com>
Date: 2022-03-01 (Tue, 01 Mar 2022)
Changed paths:
M mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp
Log Message:
-----------
[MLIR] [Arith] [NFC] Remove switch statement default label due to warning
We are getting compiler warning because default label is excessive. Removing it for now.
[[ http://lab.llvm.org:8011/#/builders/61/builds/22782/steps/5/logs/warnings__2_ | view on buildbot ]]
```
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp:1597:9: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
```
Related to: [[ https://reviews.llvm.org/D117257 | D117257 ]]
Reviewed By: stella.stamenova
Differential Revision: https://reviews.llvm.org/D120730
More information about the All-commits
mailing list