mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 06:39:12 +00:00
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
This commit is contained in:
parent
e1a0b2e0bb
commit
c5d64607c9
@ -969,8 +969,6 @@ SDValue DAGTypeLegalizer::PromoteIntOp_STORE(StoreSDNode *N, unsigned OpNo){
|
|||||||
|
|
||||||
SDValue Val = GetPromotedInteger(N->getValue()); // Get promoted value.
|
SDValue Val = GetPromotedInteger(N->getValue()); // Get promoted value.
|
||||||
|
|
||||||
assert(!N->isTruncatingStore() && "Cannot promote this store operand!");
|
|
||||||
|
|
||||||
// Truncate the value and store the result.
|
// Truncate the value and store the result.
|
||||||
return DAG.getTruncStore(Ch, Val, Ptr, N->getSrcValue(),
|
return DAG.getTruncStore(Ch, Val, Ptr, N->getSrcValue(),
|
||||||
SVOffset, N->getMemoryVT(),
|
SVOffset, N->getMemoryVT(),
|
||||||
|
Loading…
Reference in New Issue
Block a user