[llvm-commits] [llvm] r58753 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
Duncan Sands
baldrick at free.fr
Tue Nov 4 23:17:28 PST 2008
Author: baldrick
Date: Wed Nov 5 01:17:27 2008
New Revision: 58753
URL: http://llvm.org/viewvc/llvm-project?rev=58753&view=rev
Log:
Fix thinko in ppcf128 expansion of truncating store.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp?rev=58753&r1=58752&r2=58753&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp Wed Nov 5 01:17:27 2008
@@ -1183,7 +1183,7 @@
SDValue Lo, Hi;
GetExpandedOp(ST->getValue(), Lo, Hi);
- return DAG.getTruncStore(Chain, Lo, Ptr,
+ return DAG.getTruncStore(Chain, Hi, Ptr,
ST->getSrcValue(), ST->getSrcValueOffset(),
ST->getMemoryVT(),
ST->isVolatile(), ST->getAlignment());
More information about the llvm-commits
mailing list