aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJean Perier <jperier@nvidia.com>2021-05-20 18:24:10 +0200
committerJean Perier <jperier@nvidia.com>2021-05-20 18:26:53 +0200
commit943839870a0be356c40629c75d4583976cb9e812 (patch)
tree805576f7ad9789a6ad1c75b82cf8172e12524988 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2d574a110440597eefe1b2a8b6144e4e89c21d05 (diff)
downloadllvm-943839870a0be356c40629c75d4583976cb9e812.zip
llvm-943839870a0be356c40629c75d4583976cb9e812.tar.gz
llvm-943839870a0be356c40629c75d4583976cb9e812.tar.bz2
[flang] simplify derived type info table format
- Replace class(*) member by a c_ptr member to avoid having to handle polymorphic components in the type info table generation. Polymorphic entity handling will require these very tables to be lowered properly. Note: keep the init as NullPointer/Designators. This is technically invalid Fortran, the init should have c_ptr type. But wrapping this in a C_LOC intrinsic call would make runtime generation and lowering more complex with no real benefits. - ComponentIterator is crashing when used on the generated derived types in GetScope. This patch makes GetScope more robust, but it is not entirely clear to me why this is only happening with the generated derived types. - The type of generated character globals was incorrect because Scope::FindType was matching character types with different length. Add a CharacterTypeSpec == operator to fix this. Differential Revision: https://reviews.llvm.org/D102768
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions