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:
df3d63b
)
Cleanup.
author
Nick Lewycky
<nicholas@mxc.ca>
Sun, 3 Jan 2010 00:55:31 +0000
(
00:55
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Sun, 3 Jan 2010 00:55:31 +0000
(
00:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92436
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index 23db4bb0587555b7fd33e336d875e8c7c16159ad..cb7ccaf7aa6024f2300d110d67904cd242a2570a 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-7422,10
+7422,9
@@
Instruction *InstCombiner::visitICmpInstWithInstAndIntCst(ICmpInst &ICI,
Constant::getNullValue(Q->getType()));
Instruction *Op;
if (ICI.getPredicate() == ICmpInst::ICMP_EQ)
- Op = BinaryOperator::CreateAnd(ICIP, ICIQ
, ""
);
+ Op = BinaryOperator::CreateAnd(ICIP, ICIQ);
else
- Op = BinaryOperator::CreateOr(ICIP, ICIQ, "");
- Op->takeName(&ICI);
+ Op = BinaryOperator::CreateOr(ICIP, ICIQ);
return Op;
}
break;