Simon Pilgrim
							
						 | 
						
							
							
							
							
							
								
							
							
								d498dee7a2
								
							
						 | 
						
							
							
								
								[SelectionDAG] Don't pass on DemandedElts when handling SCALAR_TO_VECTOR
							
							
							
							
							
							
							
							Fixes an assertion:
llc: lib/CodeGen/SelectionDAG/SelectionDAG.cpp:2200: llvm::KnownBits llvm::SelectionDAG::computeKnownBits(llvm::SDValue, const llvm::APInt&, unsigned int) const: Assertion `(!Op.getValueType().isVector() || NumElts == Op.getValueType().getVectorNumElements()) && "Unexpected vector size"' failed.
Committed on behalf of: @pendingchaos (Rhys Perry)
Differential Revision: https://reviews.llvm.org/D55223
llvm-svn: 348574 
							
						 | 
						
							2018-12-07 09:18:44 +00:00 |