mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-25 21:48:12 +00:00
Try harder to not have unused variables.
llvm-svn: 124350
This commit is contained in:
parent
d984615f35
commit
7001cac6c5
@ -2875,6 +2875,7 @@ SDValue SelectionDAG::getNode(unsigned Opcode, DebugLoc DL, EVT VT,
|
||||
"Extract subvector must be from larger vector to smaller vector!");
|
||||
|
||||
if (ConstantSDNode *CSD = dyn_cast<ConstantSDNode>(Index.getNode())) {
|
||||
(void)CSD;
|
||||
assert((VT.getVectorNumElements() + CSD->getZExtValue()
|
||||
<= N1.getValueType().getVectorNumElements())
|
||||
&& "Extract subvector overflow!");
|
||||
@ -3093,6 +3094,7 @@ SDValue SelectionDAG::getNode(unsigned Opcode, DebugLoc DL, EVT VT,
|
||||
assert(N2.getValueType().getSimpleVT() <= N1.getValueType().getSimpleVT() &&
|
||||
"Insert subvector must be from smaller vector to larger vector!");
|
||||
if (ConstantSDNode *CSD = dyn_cast<ConstantSDNode>(Index.getNode())) {
|
||||
(void)CSD;
|
||||
assert((N2.getValueType().getVectorNumElements() + CSD->getZExtValue()
|
||||
<= VT.getVectorNumElements())
|
||||
&& "Insert subvector overflow!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user