diff options
author | Reid Kleckner <rnk@google.com> | 2018-08-06 21:16:16 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-08-06 21:16:16 +0000 |
commit | 15e91c32354deebef7e8c74fa25022bfa1dbe193 (patch) | |
tree | 5160f3e181471341a16089fcf3d6397552b8066e /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 81c7dc93d29327d8ac47ff495f2c17888e00b335 (diff) | |
download | llvm-15e91c32354deebef7e8c74fa25022bfa1dbe193.zip llvm-15e91c32354deebef7e8c74fa25022bfa1dbe193.tar.gz llvm-15e91c32354deebef7e8c74fa25022bfa1dbe193.tar.bz2 |
[X86] Fix assertion in subreg extraction
This assert fires when attempting to extract a subregister from the
global PIC base register. This virtual register SD node is not in the
VRBaseMap, so we shouldn't call getVR to look it up there. If this is a
RegisterSDNode, we should be able to use the virtual register directly.
Fixes PR38385
llvm-svn: 339056
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions