OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
904ebf9
)
As Duncan suggested, add braces for the one-line "else branch".
author
Zhou Sheng
<zhousheng00@gmail.com>
Fri, 30 Jan 2009 09:44:49 +0000
(09:44 +0000)
committer
Zhou Sheng
<zhousheng00@gmail.com>
Fri, 30 Jan 2009 09:44:49 +0000
(09:44 +0000)
Thanks, Duncan.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63389
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/IntrinsicLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/IntrinsicLowering.cpp
b/lib/CodeGen/IntrinsicLowering.cpp
index
0ef9706
..
e893a06
100644
(file)
--- a/
lib/CodeGen/IntrinsicLowering.cpp
+++ b/
lib/CodeGen/IntrinsicLowering.cpp
@@
-533,8
+533,9
@@
static Instruction *LowerPartSet(CallInst *CI) {
Lo = new ZExtInst(Lo_pn, ValTy, "", entry);
} else if (ValBits < 32) {
Lo = new TruncInst(Lo_pn, ValTy, "", entry);
- } else
+ } else
{
Lo = Lo_pn;
+ }
// Determine if the replacement bits are larger than the number of bits we
// are replacing and deal with it.
ICmpInst* is_large =