aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
diff options
context:
space:
mode:
authorValentin Clement <clementval@gmail.com>2021-11-07 14:43:00 +0100
committerValentin Clement <clementval@gmail.com>2021-11-07 21:59:01 +0100
commit54c563474ab69fa8fbbbf68da6fab84cb0ee6e6b (patch)
tree76fd61c05bb4d6ee8cda6aab905ef0a5994dd73e /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
parent2060895c9ce71bba5a950827167f23ae9eb6eef5 (diff)
downloadllvm-54c563474ab69fa8fbbbf68da6fab84cb0ee6e6b.zip
llvm-54c563474ab69fa8fbbbf68da6fab84cb0ee6e6b.tar.gz
llvm-54c563474ab69fa8fbbbf68da6fab84cb0ee6e6b.tar.bz2
[fir] Add fir.extract_value and fir.insert_value conversion
This patch add the conversion pattern for fir.extract_value and fir.insert_value. fir.extract_value is lowered to llvm.extractvalue anf fir.insert_value is lowered to llvm.insertvalue. This patch also adds the type conversion for the BoxType and RecordType needed to have some comprehensive tests. This patch is part of the upstreaming effort from fir-dev branch. This patch was landed and reverted once. TypeBuilderFunc getModel<Fortran::ISO::CFI_index_t>() was clashing with getModel<long long> on windows since they both are 64 bits signed interger. On linux CFI_index_t is long. Change CFI_index_t to getModel<long>. Reviewed By: awarzynski Differential Revision: https://reviews.llvm.org/D112961 Co-authored-by: Jean Perier <jperier@nvidia.com> Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions