[all-commits] [llvm/llvm-project] ad0b2d: Add llvm_unreachable to avoid MSVC warning

Geoffrey Martin-Noble via All-commits all-commits at lists.llvm.org
Mon Oct 19 20:29:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ad0b2d9d46a368248ed27bd27d3500cc8028456e
      https://github.com/llvm/llvm-project/commit/ad0b2d9d46a368248ed27bd27d3500cc8028456e
  Author: Geoffrey Martin-Noble <gcmn at google.com>
  Date:   2020-10-19 (Mon, 19 Oct 2020)

  Changed paths:
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp

  Log Message:
  -----------
  Add llvm_unreachable to avoid MSVC warning

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

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D89760




More information about the All-commits mailing list