aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV8
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-07-10 00:29:18 +0000
committerChris Lattner <sabre@nondot.org>2005-07-10 00:29:18 +0000
commit9fadb4c1c0a6d223aa468f9f72f8c2562dc66839 (patch)
tree48af1069d3858defa9aa70f7f205f8c27ee2ebae /lib/Target/SparcV8
parentf7db8c69a12582c7d1ff7c5f25c948dca2dbf7dc (diff)
downloadexternal_llvm-9fadb4c1c0a6d223aa468f9f72f8c2562dc66839.zip
external_llvm-9fadb4c1c0a6d223aa468f9f72f8c2562dc66839.tar.gz
external_llvm-9fadb4c1c0a6d223aa468f9f72f8c2562dc66839.tar.bz2
Change TRUNCSTORE to use a VTSDNode operand instead of being an MVTSTDNode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV8')
-rw-r--r--lib/Target/SparcV8/SparcV8ISelPattern.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV8/SparcV8ISelPattern.cpp b/lib/Target/SparcV8/SparcV8ISelPattern.cpp
index e19e14c..c2740e3 100644
--- a/lib/Target/SparcV8/SparcV8ISelPattern.cpp
+++ b/lib/Target/SparcV8/SparcV8ISelPattern.cpp
@@ -489,7 +489,7 @@ void ISel::Select(SDOperand N) {
Tmp2 = SelectExpr(Address);
unsigned VT = opcode == ISD::STORE ?
- Value.getValueType() : cast<MVTSDNode>(Node)->getExtraValueType();
+ Value.getValueType() : cast<VTSDNode>(Node->getOperand(4))->getVT();
switch(VT) {
default: assert(0 && "unknown Type in store");
case MVT::f64: Opc = V8::STDFrr; break;