mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Remove assertion to allow promotion of a truncating store operand
llvm-svn: 60975
This commit is contained in:
parent
da91e0e191
commit
2880dc8e8c
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user