mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-10 20:42:32 +00:00
[AArch64] Fix -Wimplicit-fallthrough warnings. NFCI.
Add breaks - doesn't affect results as both GPR/FPU both check for 32/64 bit sizes. So will still default to GenericOps in the same way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307484 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7ed51111ce
commit
a24a9b84eb
@ -214,6 +214,7 @@ static unsigned selectBinaryOp(unsigned GenericOpc, unsigned RegBankID,
|
||||
return GenericOpc;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case AArch64::FPRRegBankID:
|
||||
switch (OpSize) {
|
||||
case 32:
|
||||
@ -245,7 +246,8 @@ static unsigned selectBinaryOp(unsigned GenericOpc, unsigned RegBankID,
|
||||
return GenericOpc;
|
||||
}
|
||||
}
|
||||
};
|
||||
break;
|
||||
}
|
||||
return GenericOpc;
|
||||
}
|
||||
|
||||
@ -269,6 +271,7 @@ static unsigned selectLoadStoreUIOp(unsigned GenericOpc, unsigned RegBankID,
|
||||
case 64:
|
||||
return isStore ? AArch64::STRXui : AArch64::LDRXui;
|
||||
}
|
||||
break;
|
||||
case AArch64::FPRRegBankID:
|
||||
switch (OpSize) {
|
||||
case 8:
|
||||
@ -280,7 +283,8 @@ static unsigned selectLoadStoreUIOp(unsigned GenericOpc, unsigned RegBankID,
|
||||
case 64:
|
||||
return isStore ? AArch64::STRDui : AArch64::LDRDui;
|
||||
}
|
||||
};
|
||||
break;
|
||||
}
|
||||
return GenericOpc;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user