diff options
author | Chris Lattner <sabre@nondot.org> | 2005-08-01 18:16:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-08-01 18:16:37 +0000 |
commit | 4398daf069e5da24f4b0fb8e435365b15243e8b9 (patch) | |
tree | 593ad3d8c6ce11af590918da8d1e6f9fc7505df6 | |
parent | 33bbf151473797e599b62439c450130a5a3e231d (diff) | |
download | bcm5719-llvm-4398daf069e5da24f4b0fb8e435365b15243e8b9.tar.gz bcm5719-llvm-4398daf069e5da24f4b0fb8e435365b15243e8b9.zip |
Fix casts from long to sbyte on ppc
llvm-svn: 22570
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index e6d5deb5491..9e9f4fa4879 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -1786,7 +1786,7 @@ SDOperand SelectionDAGLegalize::PromoteOp(SDOperand Op) { case Expand: ExpandOp(Node->getOperand(0), Tmp1, Tmp2); // Truncate the low part of the expanded value to the result type - Result = DAG.getNode(ISD::TRUNCATE, VT, Tmp1); + Result = DAG.getNode(ISD::TRUNCATE, NVT, Tmp1); } break; case ISD::SIGN_EXTEND: |