Use std::make_tuple instead of initializer lists to make a bot happy:

http://lab.llvm.org:8011/builders/clang-cmake-x86_64-avx2-linux
This commit is contained in:
Amara Emerson 2020-08-18 14:54:56 -07:00
parent a20f5fe708
commit ed35344524
1 changed files with 2 additions and 2 deletions

View File

@ -646,7 +646,7 @@ bool CombinerHelper::matchSextInRegOfLoad(
// anyway for most targets.
if (!isPowerOf2_32(NewSizeBits))
return false;
MatchInfo = {LoadDef->getOperand(0).getReg(), NewSizeBits};
MatchInfo = std::make_tuple(LoadDef->getOperand(0).getReg(), NewSizeBits);
return true;
}
@ -1963,7 +1963,7 @@ bool CombinerHelper::matchAshrShlToSextInreg(
if (!isLegalOrBeforeLegalizer(
{TargetOpcode::G_SEXT_INREG, {MRI.getType(Src)}}))
return false;
MatchInfo = {Src, ShlCst};
MatchInfo = std::make_tuple(Src, ShlCst);
return true;
}
bool CombinerHelper::applyAshShlToSextInreg(