Reuse variable

llvm-svn: 193107
This commit is contained in:
Matt Arsenault 2013-10-21 19:24:15 +00:00
parent ad65f10d75
commit bbd24901cf
1 changed files with 1 additions and 1 deletions

View File

@ -2448,7 +2448,7 @@ bool SelectionDAGBuilder::handleBitTestsSwitchCase(CaseRec& CR,
MachineFunction *CurMF = FuncInfo.MF;
// If target does not have legal shift left, do not emit bit tests at all.
if (!TLI->isOperationLegal(ISD::SHL, TLI->getPointerTy()))
if (!TLI->isOperationLegal(ISD::SHL, PTy))
return false;
size_t numCmps = 0;