This is an archive of the discontinued LLVM Phabricator instance.

Add llvm_unreachable to avoid MSVC warning
ClosedPublic

Authored by GMNGeoffrey on Oct 19 2020, 7:20 PM.

Details

Summary

Without this I get a warning about not all paths returning.

Diff Detail

Event Timeline

GMNGeoffrey created this revision.Oct 19 2020, 7:20 PM
GMNGeoffrey requested review of this revision.Oct 19 2020, 7:20 PM
mehdi_amini accepted this revision.Oct 19 2020, 7:55 PM
mehdi_amini added inline comments.
mlir/lib/Dialect/StandardOps/IR/Ops.cpp
3006

Maybe "unexpected subview verification result" ?

This revision is now accepted and ready to land.Oct 19 2020, 7:55 PM
  • Improve error message
This revision was automatically updated to reflect the committed changes.