mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
Fix unused variable in r375066
llvm-svn: 375070
This commit is contained in:
parent
17873a7a4c
commit
f9dbd8631b
@ -135,8 +135,8 @@ bool CombinerHelper::matchCombineConcatVectors(MachineInstr &MI, bool &IsUndef,
|
||||
Builder.setInsertPt(*MI.getParent(), MI);
|
||||
Undef = Builder.buildUndef(OpType.getScalarType());
|
||||
}
|
||||
LLT UndefType = MRI.getType(Undef->getOperand(0).getReg());
|
||||
assert(UndefType == OpType.getScalarType() &&
|
||||
assert(MRI.getType(Undef->getOperand(0).getReg()) ==
|
||||
OpType.getScalarType() &&
|
||||
"All undefs should have the same type");
|
||||
// Break the undef vector in as many scalar elements as needed
|
||||
// for the flattening.
|
||||
|
Loading…
Reference in New Issue
Block a user