aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-03-30 17:25:49 +0200
committerNikita Popov <npopov@redhat.com>2022-03-30 17:27:26 +0200
commitd6887256c2cae1b1b721bd47459be6d86003db6f (patch)
tree93006292786f1c54dbea23f3b4daabffdb53025d /llvm/lib/Support/VirtualFileSystem.cpp
parentf29002a4b71b7734dfc4bd0e62eec2d341edb3fd (diff)
downloadllvm-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