[all-commits] [llvm/llvm-project] 15c8b8: [MLIR] Simplex: Assert on the restoreRow return va...

Arjun P via All-commits all-commits at lists.llvm.org
Wed Dec 15 14:03:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15c8b8ad85c196df25aa3c22bca3d8458f86525a
      https://github.com/llvm/llvm-project/commit/15c8b8ad85c196df25aa3c22bca3d8458f86525a
  Author: Arjun P <arjunpitchanathan at gmail.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M mlir/lib/Analysis/Presburger/Simplex.cpp

  Log Message:
  -----------
  [MLIR] Simplex: Assert on the restoreRow return value instead of ignoring it

Previously, the LogicalResult return value of restoreRow was being ignored in
places where it was expected to always be success. Instead, check the result
and go to an `llvm_unreachable` if it turns out to be failure.




More information about the All-commits mailing list