[llvm-commits] [llvm] r63389 - /llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp
Zhou Sheng
zhousheng00 at gmail.com
Fri Jan 30 01:44:51 PST 2009
Author: sheng
Date: Fri Jan 30 03:44:49 2009
New Revision: 63389
URL: http://llvm.org/viewvc/llvm-project?rev=63389&view=rev
Log:
As Duncan suggested, add braces for the one-line "else branch".
Thanks, Duncan.
Modified:
llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp
Modified: llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp?rev=63389&r1=63388&r2=63389&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp Fri Jan 30 03:44:49 2009
@@ -533,8 +533,9 @@
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 =
More information about the llvm-commits
mailing list