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.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D156558  
[mlir][ArmSME] Remove "pure" side-effect from 'get_tile_id' op to prevent CSE ClosedPublic Authored by c-rhodes on Jul 28 2023, 9:46 AM. 
Details Summary The 'get_tile_id' op is currently marked as pure so CSE thinks these ops 
Diff Detail 
 Event Timelinec-rhodes added a child revision: D156689: [mlir][ArmSME] Use memref indices for load and store.Jul 31 2023, 10:24 AM This revision is now accepted and ready to land.Jul 31 2023, 1:15 PM Closed by commit rG31850318f778: [mlir][ArmSME] Remove "pure" side-effect from 'get_tile_id' op to prevent CSE (authored by c-rhodes).  ·  Explain WhyAug 1 2023, 1:12 AM This revision was automatically updated to reflect the committed changes. 
Diff 545954 mlir/include/mlir/Dialect/ArmSME/IR/ArmSME.td
 mlir/test/Dialect/ArmSME/cse.mlir
 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||