commit | 11ed0317bc3ee77e7d97140df6f7471fe140a7b1 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Sun Jan 03 00:55:31 2010 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Sun Jan 03 00:55:31 2010 +0000 |
tree | ab8795c23a94a8da903c27f4e610a8c27468b93a | |
parent | df3d63b896a5435c2d8c06e147e19b2a358d381d [diff] |
Cleanup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92436 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 23db4bb..cb7ccaf 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -7422,10 +7422,9 @@ 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;