[llvm-commits] [llvm] r77965 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Anton Korobeynikov
asl at math.spbu.ru
Mon Aug 3 01:14:15 PDT 2009
Author: asl
Date: Mon Aug 3 03:14:14 2009
New Revision: 77965
URL: http://llvm.org/viewvc/llvm-project?rev=77965&view=rev
Log:
Perform bitconvert to proper type
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=77965&r1=77964&r2=77965&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Mon Aug 3 03:14:14 2009
@@ -1448,8 +1448,7 @@
ArgValue = DAG.getNode(ISD::AssertZext, dl, RegVT, ArgValue,
DAG.getValueType(VA.getValVT()));
else if (VA.getLocInfo() == CCValAssign::BCvt)
- ArgValue = DAG.getNode(ISD::BIT_CONVERT, dl, RegVT, ArgValue,
- DAG.getValueType(VA.getValVT()));
+ ArgValue = DAG.getNode(ISD::BIT_CONVERT, dl, VA.getValVT(), ArgValue);
if (VA.isExtInLoc()) {
// Handle MMX values passed in XMM regs.
More information about the llvm-commits
mailing list