mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
fix a warning in the optimized build
llvm-svn: 20920
This commit is contained in:
parent
4f9c2cde55
commit
3759d20b0f
@ -729,6 +729,8 @@ unsigned ISel::SelectExpr(SDOperand N) {
|
|||||||
if (sext && byte) {
|
if (sext && byte) {
|
||||||
Tmp3 = Result;
|
Tmp3 = Result;
|
||||||
Result = MakeReg(MVT::i32);
|
Result = MakeReg(MVT::i32);
|
||||||
|
} else {
|
||||||
|
Tmp3 = 0; // Silence GCC warning.
|
||||||
}
|
}
|
||||||
if(Address.getOpcode() == ISD::FrameIndex) {
|
if(Address.getOpcode() == ISD::FrameIndex) {
|
||||||
BuildMI(BB, Opc, 2, Result)
|
BuildMI(BB, Opc, 2, Result)
|
||||||
|
Loading…
Reference in New Issue
Block a user