memrefCopy should just return early if there are no elements to copy.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D107346
[mlir][CPURunner] Avoid a crash in memrefCopy when called with empty shapes. ClosedPublic Authored by akuegel on Aug 3 2021, 6:19 AM.
Details Summary memrefCopy should just return early if there are no elements to copy.
Diff Detail
Event TimelineHerald added subscribers: wrengr, Chia-hungDuan, dcaballe and 18 others. · View Herald TranscriptAug 3 2021, 6:19 AM This revision is now accepted and ready to land.Aug 3 2021, 6:24 AM Closed by commit rG76fd3d4410c1: [mlir][CPURunner] Avoid a crash in memrefCopy when called with empty shapes. (authored by akuegel). · Explain WhyAug 3 2021, 7:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 363727 mlir/lib/ExecutionEngine/CRunnerUtils.cpp
mlir/test/mlir-cpu-runner/copy.mlir
|