projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a0b2e
)
Remove assertion to allow promotion of a truncating store operand
author
Mon P Wang
<wangmp@apple.com>
Sat, 13 Dec 2008 08:16:43 +0000
(08:16 +0000)
committer
Mon P Wang
<wangmp@apple.com>
Sat, 13 Dec 2008 08:16:43 +0000
(08:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60975
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
index 3f8a463f67e7808fb2db9e4dc642433c2810850f..db45e44da937a6d1b02ef3f1c3ae9af1f6029a56 100644
(file)
--- 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(),