aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/ArrayRefTest.cpp
diff options
context:
space:
mode:
authorSlava Zakharin <szakharin@nvidia.com>2023-01-17 09:08:43 -0800
committerSlava Zakharin <szakharin@nvidia.com>2023-01-17 10:19:11 -0800
commit9c84d20fa69006adcbbaf424f3ef674298045f78 (patch)
tree51cbd0123cfc5057a4b3c2183aea6071b3421537 /llvm/unittests/ADT/ArrayRefTest.cpp
parent2449cbabddc73668abf60357d476a78692193286 (diff)
downloadllvm-9c84d20fa69006adcbbaf424f3ef674298045f78.zip
llvm-9c84d20fa69006adcbbaf424f3ef674298045f78.tar.gz
llvm-9c84d20fa69006adcbbaf424f3ef674298045f78.tar.bz2
[flang] Generate TBAA information.
This is initial version of TBAA information generation for Flang generated IR. The desired behavior is that TBAA type descriptors are generated for FIR types during FIR to LLVM types conversion, and then TBAA access tags are attached to memory accessing operations when they are converted to LLVM IR dialect. In the initial version the type conversion is not producing TBAA type descriptors, and all memory accesses are just partitioned into two sets of box and non-box accesses, which can never alias. The TBAA generation is enabled by default at >O0 optimization levels. TBAA generation may also be enabled via `apply-tbaa` option of `fir-to-llvm-ir` conversion pass. `-mllvm -disable-tbaa` engineering option allows disabling TBAA generation to override Flang's default (e.g. when -O1 is used). SPEC CPU2006/437.leslie3d speeds up by more than 2x on Icelake. Reviewed By: jeanPerier, clementval Differential Revision: https://reviews.llvm.org/D141820
Diffstat (limited to 'llvm/unittests/ADT/ArrayRefTest.cpp')
0 files changed, 0 insertions, 0 deletions