mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
fix a warning in the optimized build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20920 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4de57fd9e9
commit
848132d671
@ -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…
x
Reference in New Issue
Block a user