[all-commits] [llvm/llvm-project] cb778c: [mlir][std] Fold comparisons when the operands are...

Stephan Herhut via All-commits all-commits at lists.llvm.org
Fri Nov 20 04:27:07 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cb778c34237c384821b7bc961f15d139a10b0ca7
      https://github.com/llvm/llvm-project/commit/cb778c34237c384821b7bc961f15d139a10b0ca7
  Author: Stephan Herhut <herhut at google.com>
  Date:   2020-11-20 (Fri, 20 Nov 2020)

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

  Log Message:
  -----------
  [mlir][std] Fold comparisons when the operands are equal

For equal operands, comparisons can be decided statically.

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




More information about the All-commits mailing list