[all-commits] [llvm/llvm-project] 1843d9: [mlir][affine] Fix crash on -affine-loop-invariant...
Anoop JS via All-commits
all-commits at lists.llvm.org
Sun Apr 9 20:47:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1843d978d8f1c22e4e23e3ad09d745dcd00e0c67
https://github.com/llvm/llvm-project/commit/1843d978d8f1c22e4e23e3ad09d745dcd00e0c67
Author: Anoop J S <anoop.js at icloud.com>
Date: 2023-04-10 (Mon, 10 Apr 2023)
Changed paths:
M mlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp
M mlir/test/Dialect/Affine/affine-loop-invariant-code-motion.mlir
Log Message:
-----------
[mlir][affine] Fix crash on -affine-loop-invariant-code-motion pass with affine.prefetch Op
Affine Prefetch Op impelements AffineMapAccessInterface but does not implement
AffineReadOpInterface or AffineWriteOpInterface. Prefetch Op was cast to
AffineWriteOpinterface causing the crash.
Reviewed By: bondhugula
Differential Revision: https://reviews.llvm.org/D146836
More information about the All-commits
mailing list