[LIR] Reuse variable. NFCI.

llvm-svn: 267761
This commit is contained in:
Ahmed Bougacha 2016-04-27 19:04:46 +00:00
parent efd557cecd
commit 837b4a5338

View File

@ -606,7 +606,7 @@ bool LoopIdiomRecognize::processLoopMemSet(MemSetInst *MSI,
return false;
// If we're not allowed to hack on memset, we fail.
if (!TLI->has(LibFunc::memset))
if (!HasMemset)
return false;
Value *Pointer = MSI->getDest();