mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
Mark an unreachable code path with llvm_unreachable. Pacifies GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189726 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4af4cbbced
commit
f53e9b4896
@ -328,6 +328,7 @@ SDNode *AMDGPUDAGToDAGISel::Select(SDNode *N) {
|
||||
case 16: RegClassID = UseVReg ? AMDGPU::VReg_512RegClassID :
|
||||
AMDGPU::SReg_512RegClassID;
|
||||
break;
|
||||
default: llvm_unreachable("Do not know how to lower this BUILD_VECTOR");
|
||||
}
|
||||
} else {
|
||||
// BUILD_VECTOR was lowered into an IMPLICIT_DEF + 4 INSERT_SUBREG
|
||||
|
Loading…
Reference in New Issue
Block a user