[llvm-branch-commits] [llvm-branch] r100678 - /llvm/branches/ggreif/CallInst-operands/lib/VMCore/AutoUpgrade.cpp
Gabor Greif
ggreif at gmail.com
Wed Apr 7 12:26:19 PDT 2010
Author: ggreif
Date: Wed Apr 7 14:26:19 2010
New Revision: 100678
URL: http://llvm.org/viewvc/llvm-project?rev=100678&view=rev
Log:
shift operands for new intrinsic
Modified:
llvm/branches/ggreif/CallInst-operands/lib/VMCore/AutoUpgrade.cpp
Modified: llvm/branches/ggreif/CallInst-operands/lib/VMCore/AutoUpgrade.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/CallInst-operands/lib/VMCore/AutoUpgrade.cpp?rev=100678&r1=100677&r2=100678&view=diff
==============================================================================
--- llvm/branches/ggreif/CallInst-operands/lib/VMCore/AutoUpgrade.cpp (original)
+++ llvm/branches/ggreif/CallInst-operands/lib/VMCore/AutoUpgrade.cpp Wed Apr 7 14:26:19 2010
@@ -362,8 +362,8 @@
CI->eraseFromParent();
} else if (F->getName() == "llvm.x86.sse41.pmulld") {
// Upgrade this set of intrinsics into vector multiplies.
- Instruction *Mul = BinaryOperator::CreateMul(CI->getOperand(1),
- CI->getOperand(2),
+ Instruction *Mul = BinaryOperator::CreateMul(CI->getOperand(0),
+ CI->getOperand(1),
CI->getName(),
CI);
// Fix up all the uses with our new multiply.
More information about the llvm-branch-commits
mailing list