aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorBardia Mahjour <bmahjour@ca.ibm.com>2020-02-26 12:51:58 -0500
committerBardia Mahjour <bmahjour@ca.ibm.com>2020-02-27 10:29:01 -0500
commit1b811ff8a935fafb279ad9bad36d36058a129b42 (patch)
treec41bccde2c7b3ad0abe01e0452fb6d9ce9392e70 /clang/lib/Basic/Module.cpp
parentbd97704eaaaab5a95ecb048ce343c1a4be5d94e5 (diff)
downloadllvm-1b811ff8a935fafb279ad9bad36d36058a129b42.zip
llvm-1b811ff8a935fafb279ad9bad36d36058a129b42.tar.gz
llvm-1b811ff8a935fafb279ad9bad36d36058a129b42.tar.bz2
[DA] Delinearization of fixed-size multi-dimensional arrays
Summary: Currently the dependence analysis in LLVM is unable to compute accurate dependence vectors for multi-dimensional fixed size arrays. This is mainly because the delinearization algorithm in scalar evolution relies on parametric terms to be present in the access functions. In the case of fixed size arrays such parametric terms are not present, but we can use the indexes from GEP instructions to recover the subscripts for each dimension of the arrays. This patch adds this ability under the existing option `-da-disable-delinearization-checks`. Authored By: bmahjour Reviewer: Meinersbur, sebpop, fhahn, dmgreen, grosser, etiotto, bollu Reviewed By: Meinersbur Subscribers: hiraditya, arphaman, Whitney, ppc-slack, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D72178
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions