[all-commits] [llvm/llvm-project] 917e45: [mlir][arith] cmpi: move constant to the right side

Ivan Butygin via All-commits all-commits at lists.llvm.org
Fri Jul 22 03:42:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 917e4519bc2ac6fe490953b82c69f7c7a9511dbd
      https://github.com/llvm/llvm-project/commit/917e4519bc2ac6fe490953b82c69f7c7a9511dbd
  Author: Ivan Butygin <ivan.butygin at gmail.com>
  Date:   2022-07-22 (Fri, 22 Jul 2022)

  Changed paths:
    M flang/test/Fir/boxproc.fir
    M flang/test/Lower/array-character.f90
    M flang/test/Lower/host-associated.f90
    M mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp
    M mlir/test/Dialect/Arithmetic/canonicalize.mlir
    M mlir/test/Dialect/Vector/vector-contract-transforms.mlir
    M mlir/test/Transforms/sccp-structured.mlir

  Log Message:
  -----------
  [mlir][arith] cmpi: move constant to the right side

Convert arith.cmpi to the canonical form with constants on the right side
to simplify further optimizations and open more opportunities for CSE.


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




More information about the All-commits mailing list