mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Mark an unreachable code path with llvm_unreachable. Pacifies GCC.
llvm-svn: 189726
This commit is contained in:
parent
4921fdebc8
commit
29f4a90415
@ -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…
x
Reference in New Issue
Block a user