aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2020-08-19 12:50:35 -0700
committerJessica Paquette <jpaquette@apple.com>2020-08-19 12:52:30 -0700
commite887d0e89b837be37b4279735a9c1ac57e90c995 (patch)
treebab8bfe48a174047d11d1bb9b6077e94f02da022 /clang/lib/CodeGen/CodeGenModule.cpp
parent15801f16194a3da6bc9ae5b869815178993303e7 (diff)
downloadllvm-e887d0e89b837be37b4279735a9c1ac57e90c995.zip
llvm-e887d0e89b837be37b4279735a9c1ac57e90c995.tar.gz
llvm-e887d0e89b837be37b4279735a9c1ac57e90c995.tar.bz2
[AArch64][GlobalISel] Handle rtcGPR64RegClassID in AArch64RegisterBankInfo::getRegBankFromRegClass()
TargetRegisterInfo::getMinimalPhysRegClass() returns rtcGPR64RegClassID for X16 and X17, as it's the last matching class. This in turn gets passed to AArch64RegisterBankInfo::getRegBankFromRegClass(), which hits an unreachable. It seems sensible to handle this case, so copies from X16 and X17 work. Copying from X17 is used in inline assembly in libunwind for pointer authentication. Differential Revision: https://reviews.llvm.org/D85720
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions