[all-commits] [llvm/llvm-project] 318503: [mlir][ArmSME] Remove "pure" side-effect from 'get...

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Tue Aug 1 01:11:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31850318f7788bc923909153614fa072d02c7aed
      https://github.com/llvm/llvm-project/commit/31850318f7788bc923909153614fa072d02c7aed
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2023-08-01 (Tue, 01 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/ArmSME/IR/ArmSME.td
    A mlir/test/Dialect/ArmSME/cse.mlir

  Log Message:
  -----------
  [mlir][ArmSME] Remove "pure" side-effect from 'get_tile_id' op to prevent CSE

The 'get_tile_id' op is currently marked as pure so CSE thinks these ops
are equivalent and replaces with them a single one. This patch removes
pure to prevent this.

Reviewed By: awarzynski

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




More information about the All-commits mailing list