[all-commits] [llvm/llvm-project] 8bdbe2: [mlir] Fix bug in computing operation order

James Molloy via All-commits all-commits at lists.llvm.org
Fri Oct 9 04:19:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bdbe29519236b0dc6a701deb455440c336f2773
      https://github.com/llvm/llvm-project/commit/8bdbe29519236b0dc6a701deb455440c336f2773
  Author: James Molloy <jmolloy at google.com>
  Date:   2020-10-09 (Fri, 09 Oct 2020)

  Changed paths:
    M mlir/lib/IR/Operation.cpp
    M mlir/unittests/IR/OperationSupportTest.cpp

  Log Message:
  -----------
  [mlir] Fix bug in computing operation order

When attempting to compute a differential orderIndex we were calculating the
bailout condition correctly, but then an errant "+ 1" meant the orderIndex we
created was invalid.

Added test.

Reviewed By: ftynse

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




More information about the All-commits mailing list