aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/LineIterator.cpp
diff options
context:
space:
mode:
authorAlexander Belyaev <pifon@google.com>2020-10-13 21:31:40 +0200
committerAlexander Belyaev <pifon@google.com>2020-10-13 21:41:25 +0200
commit323fd11df7718e68c37f9220a8e1056bb56778cf (patch)
tree8a29322c913b3ad8260863bbcdb535e12fd745a3 /llvm/lib/Support/LineIterator.cpp
parente79ca751fc2bea9f80c4df1eebf61fce3fd4f439 (diff)
downloadllvm-323fd11df7718e68c37f9220a8e1056bb56778cf.zip
llvm-323fd11df7718e68c37f9220a8e1056bb56778cf.tar.gz
llvm-323fd11df7718e68c37f9220a8e1056bb56778cf.tar.bz2
[mlir][nfc] Add a func to compute numElements of a shape in Std -> LLVM.
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. Differential Revision: https://reviews.llvm.org/D89336
Diffstat (limited to 'llvm/lib/Support/LineIterator.cpp')
0 files changed, 0 insertions, 0 deletions