summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorMon P Wang <wangmp@apple.com>2008-12-13 08:16:43 +0000
committerMon P Wang <wangmp@apple.com>2008-12-13 08:16:43 +0000
commit472cd640fae612f51af0a0018c5b72c3130aa7bd (patch)
tree4ecc30a62f8f14af16c14ff89ac3ed60d0c8b5e1 /llvm/lib
parentf95bd2078d34ef6f81607945569fc8cc4ba2e5cb (diff)
downloadbcm5719-llvm-472cd640fae612f51af0a0018c5b72c3130aa7bd.tar.gz
bcm5719-llvm-472cd640fae612f51af0a0018c5b72c3130aa7bd.zip
Remove assertion to allow promotion of a truncating store operand
llvm-svn: 60975
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
index 3f8a463f67e..db45e44da93 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
@@ -969,8 +969,6 @@ SDValue DAGTypeLegalizer::PromoteIntOp_STORE(StoreSDNode *N, unsigned OpNo){
SDValue Val = GetPromotedInteger(N->getValue()); // Get promoted value.
- assert(!N->isTruncatingStore() && "Cannot promote this store operand!");
-
// Truncate the value and store the result.
return DAG.getTruncStore(Ch, Val, Ptr, N->getSrcValue(),
SVOffset, N->getMemoryVT(),
OpenPOWER on IntegriCloud