aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorTobias Gysi <tobias.gysi@inf.ethz.ch>2020-02-12 22:36:21 +0100
committerAlex Zinenko <zinenko@google.com>2020-02-12 22:40:49 +0100
commit4f865b77941db364eaf0a6c265d183274c503ecb (patch)
treed99521535fd6ca5725903ee13ad88a0b3590e35f /clang/lib/CodeGen/CodeGenFunction.cpp
parent56aba9699d8d1d10f7e93f60dd11f7e4cce3eb93 (diff)
downloadllvm-4f865b77941db364eaf0a6c265d183274c503ecb.zip
llvm-4f865b77941db364eaf0a6c265d183274c503ecb.tar.gz
llvm-4f865b77941db364eaf0a6c265d183274c503ecb.tar.bz2
[mlir] support creating memref descriptors from static shape with non-zero offset
This patch adapts the method MemRefDescriptor::fromStaticShape to support static non-zero offsets. The updated method uses the getStridesAndOffset method to extract strides and offset. The patch also adapts the test cases since sizes and strides are now set in forward instead of reverse order. Differential Revision: https://reviews.llvm.org/D74474
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions