[llvm-commits] [llvm] r52952 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Duncan Sands
baldrick at free.fr
Tue Jul 1 01:00:52 PDT 2008
Author: baldrick
Date: Tue Jul 1 03:00:49 2008
New Revision: 52952
URL: http://llvm.org/viewvc/llvm-project?rev=52952&view=rev
Log:
Highlight that getMergeValues optimization is
being suppressed here.
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=52952&r1=52951&r2=52952&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Jul 1 03:00:49 2008
@@ -4517,7 +4517,8 @@
SDOperand Res = DAG.getLoad(VT, FIST, StackSlot, NULL, 0);
// Use a MERGE_VALUES node to drop the chain result value.
- return DAG.getMergeValues(DAG.getVTList(VT), &Res, 1, false).Val;
+ return DAG.getMergeValues(DAG.getVTList(VT), &Res, 1,
+ false /* Require a node with one-result */).Val;
}
SDOperand X86TargetLowering::LowerFABS(SDOperand Op, SelectionDAG &DAG) {
More information about the llvm-commits
mailing list