For some reason the variable cumulativeSizeInBytes in
getCumulativeSizeInBytes was actually storing number of elements. I decided
to fix it and refactor the function a bit.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D89336
[mlir][nfc] Add a func to compute numElements of a shape in Std -> LLVM. ClosedPublic Authored by pifon2a on Oct 13 2020, 11:14 AM.
Details Summary For some reason the variable cumulativeSizeInBytes in
Diff Detail
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptOct 13 2020, 11:14 AM This revision is now accepted and ready to land.Oct 13 2020, 11:31 AM This revision was landed with ongoing or failed builds.Oct 13 2020, 12:41 PM Closed by commit rG323fd11df771: [mlir][nfc] Add a func to compute numElements of a shape in Std -> LLVM. (authored by pifon2a). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 297934 mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
|