[all-commits] [llvm/llvm-project] 543351: [tosa] : Re-enable PR #135429 with ASAN fix (#135560)

Sayan Saha via All-commits all-commits at lists.llvm.org
Sun Apr 13 14:05:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 543351babff4144675ee8259eeddafc7b441bf0c
      https://github.com/llvm/llvm-project/commit/543351babff4144675ee8259eeddafc7b441bf0c
  Author: Sayan Saha <sayans at mathworks.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
    M mlir/test/Dialect/Tosa/canonicalize.mlir

  Log Message:
  -----------
  [tosa] : Re-enable PR #135429 with ASAN fix (#135560)

Removed the calls to `sizeOp` after replacing `SliceOp`:

```
// Remove const_shape size op when it no longer has use point.
Operation *sizeConstShape = sliceOp.getSize().getDefiningOp();
```

Turns out as part of canonicalization, trivially dead ops are removed
anyway, so the above piece of code isn't actually needed.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list