diff options
author | Nikita Popov <npopov@redhat.com> | 2022-03-30 17:25:49 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-03-30 17:27:26 +0200 |
commit | d6887256c2cae1b1b721bd47459be6d86003db6f (patch) | |
tree | 93006292786f1c54dbea23f3b4daabffdb53025d /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | f29002a4b71b7734dfc4bd0e62eec2d341edb3fd (diff) | |
download | llvm-d6887256c2cae1b1b721bd47459be6d86003db6f.zip llvm-d6887256c2cae1b1b721bd47459be6d86003db6f.tar.gz llvm-d6887256c2cae1b1b721bd47459be6d86003db6f.tar.bz2 |
[AutoUpgrade] Don't upgrade intrinsics returning overloaded struct type
We only want to do the upgrade from named to anonymous struct
return if the intrinsic is declared to return a struct, but not
if it has an overloaded return type that just happens to be a
struct. In that case the struct type will be mangled into the
intrinsic name and there is no problem.
This should address the problem reported in
https://reviews.llvm.org/D122471#3416598.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions