Page MenuHomePhabricator

[MLIR] [Arith] [NFC] Remove switch statement default label due to warning

Authored by max-kudr on Mar 1 2022, 7:25 AM.



We are getting compiler warning because default label is excessive. Removing it for now.

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: D117257

Diff Detail

Event Timeline

max-kudr created this revision.Mar 1 2022, 7:25 AM
max-kudr requested review of this revision.Mar 1 2022, 7:25 AM

Please commit it once approved (I do not have commit permission).

This revision is now accepted and ready to land.Mar 1 2022, 2:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2022, 2:08 PM