projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
695b9f3
)
remove some redundant braces
author
Chris Lattner
<sabre@nondot.org>
Thu, 26 Nov 2009 01:50:12 +0000
(
01:50
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 26 Nov 2009 01:50:12 +0000
(
01:50
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89912
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ValueTracking.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ValueTracking.cpp
b/lib/Analysis/ValueTracking.cpp
index d27f8a5f714f023439b5ae4d53fee6afd021b5e6..f4b550f9f73ec1f2765491ecbf537967871969f7 100644
(file)
--- a/
lib/Analysis/ValueTracking.cpp
+++ b/
lib/Analysis/ValueTracking.cpp
@@
-833,14
+833,12
@@
bool llvm::ComputeMultiple(Value *V, unsigned Base, Value *&Multiple,
switch (I->getOpcode()) {
default: break;
- case Instruction::SExt:
{
+ case Instruction::SExt:
if (!LookThroughSExt) return false;
// otherwise fall through to ZExt
- }
- case Instruction::ZExt: {
+ case Instruction::ZExt:
return ComputeMultiple(I->getOperand(0), Base, Multiple,
LookThroughSExt, Depth+1);
- }
case Instruction::Shl:
case Instruction::Mul: {
Value *Op0 = I->getOperand(0);