This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

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