mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
As Duncan suggested, add braces for the one-line "else branch".
Thanks, Duncan. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63389 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
904ebf9bf4
commit
c0425b646f
@ -533,8 +533,9 @@ static Instruction *LowerPartSet(CallInst *CI) {
|
|||||||
Lo = new ZExtInst(Lo_pn, ValTy, "", entry);
|
Lo = new ZExtInst(Lo_pn, ValTy, "", entry);
|
||||||
} else if (ValBits < 32) {
|
} else if (ValBits < 32) {
|
||||||
Lo = new TruncInst(Lo_pn, ValTy, "", entry);
|
Lo = new TruncInst(Lo_pn, ValTy, "", entry);
|
||||||
} else
|
} else {
|
||||||
Lo = Lo_pn;
|
Lo = Lo_pn;
|
||||||
|
}
|
||||||
// Determine if the replacement bits are larger than the number of bits we
|
// Determine if the replacement bits are larger than the number of bits we
|
||||||
// are replacing and deal with it.
|
// are replacing and deal with it.
|
||||||
ICmpInst* is_large =
|
ICmpInst* is_large =
|
||||||
|
Loading…
Reference in New Issue
Block a user