aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitc5d64607c96d9237f55988736e6ba7cc6a3d0a67 (patch)
treee718bd88a2c3f2c148bd61d0ad4c15341595d028 /lib
parente1a0b2e0bbf2bd905afc628c96d8892edb304a3e (diff)
downloadexternal_llvm-c5d64607c96d9237f55988736e6ba7cc6a3d0a67.zip
external_llvm-c5d64607c96d9237f55988736e6ba7cc6a3d0a67.tar.gz
external_llvm-c5d64607c96d9237f55988736e6ba7cc6a3d0a67.tar.bz2
Remove assertion to allow promotion of a truncating store operand
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
index 3f8a463..db45e44 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+++ b/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(),