[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp
Chris Lattner
sabre at nondot.org
Sun Feb 25 21:21:22 PST 2007
Changes in directory llvm/lib/Target/X86:
X86ISelLowering.cpp updated: 1.338 -> 1.339
---
Log message:
the truncate must always be done, it's only the assert that is conditional.
---
Diffs of the changes: (+1 -1)
X86ISelLowering.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.338 llvm/lib/Target/X86/X86ISelLowering.cpp:1.339
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.338 Sun Feb 25 21:18:56 2007
+++ llvm/lib/Target/X86/X86ISelLowering.cpp Sun Feb 25 23:21:05 2007
@@ -1200,8 +1200,8 @@
unsigned ExtOpc = (ArgFlags & 1) ? ISD::AssertSext :ISD::AssertZext;
ArgValue = DAG.getNode(ExtOpc, MVT::i32, ArgValue,
DAG.getValueType(ObjectVT));
- ArgValue = DAG.getNode(ISD::TRUNCATE, ObjectVT, ArgValue);
}
+ ArgValue = DAG.getNode(ISD::TRUNCATE, ObjectVT, ArgValue);
}
break;
}
More information about the llvm-commits
mailing list