mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
GlobalISel: Remove redundant check in verifier
This was already checked earlier for all instructions.
This commit is contained in:
parent
679926bcca
commit
a27bd6c289
@ -915,9 +915,6 @@ void MachineVerifier::verifyPreISelGenericInstruction(const MachineInstr *MI) {
|
||||
switch (MI->getOpcode()) {
|
||||
case TargetOpcode::G_CONSTANT:
|
||||
case TargetOpcode::G_FCONSTANT: {
|
||||
if (MI->getNumOperands() < MCID.getNumOperands())
|
||||
break;
|
||||
|
||||
LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
|
||||
if (DstTy.isVector())
|
||||
report("Instruction cannot use a vector result type", MI);
|
||||
|
Loading…
Reference in New Issue
Block a user